Dynamic Redirect URI #393
Replies: 2 comments
-
Hail, @willsawyerrrr 👋 Welcome to Fief's kingdom! Our team will get back to you very soon to help. In the meantime, take a minute to star our repository ⭐️ Want to support us?Subscribe to one of our paid plan to help us continue our work and receive exclusive information and benefits! Starts at $5/month 🪙 Farewell! |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, for security reasons, it would be quite dangerous to allow wildcard redirect URIs. In your case, I would recommend to use the Admin API in your workflow to add the redirect URI: https://example.fief.dev/admin/api/docs#/Clients/clients_update_clients__id__patch |
Beta Was this translation helpful? Give feedback.
-
My team's frontend development workflow includes the automated creation and deployment of feature branches to a subdomain corresponding to their name - something like
https://<feature-branch-name>.example.com
.Currently, when we wish to utilise our Fief deployment for authentication on a new feature branch deployment, we must open the Fief admin dashboard and add the new deployment's URL to the client's allowed redirect URIs.
It would be great to be able to specify dynamic (for example, wildcard or regex) redirect URIs so that we can add
https://*.example.com/auth/callback
once to allow all of our feature branches.Beta Was this translation helpful? Give feedback.
All reactions