This PR is created to support the situation where the :authorize-uri has some runtime dependent parts, like a subdomain. Then; one can configure it like so:
Use case:
In my SaaS app, I integrate with Shopify, and their authorize uri is like:
https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={access_mode} where {shop} is dynamic and dependent on the logged in user of my SaaS app.
This PR is created to support the situation where the :authorize-uri has some runtime dependent parts, like a subdomain. Then; one can configure it like so:
Use case: In my SaaS app, I integrate with Shopify, and their authorize uri is like:
https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={access_mode}
where{shop}
is dynamic and dependent on the logged in user of my SaaS app.