It would be convenient to have access to the app's URL scheme through something like $system.url_scheme (or $env.url_scheme?). Maybe we can attach more environment attributes to the same namespace going forward.
This is especially useful for running $oauth category actions for specifying redirect_uris, but I can imagine it can be used for other purposes as well.
For example instead of hardcoding options.authorize.data.redirect_uri like this:
It would be convenient to have access to the app's URL scheme through something like
$system.url_scheme
(or$env.url_scheme
?). Maybe we can attach more environment attributes to the same namespace going forward.This is especially useful for running
$oauth
category actions for specifyingredirect_uri
s, but I can imagine it can be used for other purposes as well.For example instead of hardcoding
options.authorize.data.redirect_uri
like this:It would be nice to have it replaced with:
Not sure if
$system
is better or$env
is better. Or maybe there's a better option. Any suggestion welcome.