-
Hi there!
Is there any way in the login process to have custom parameters received in the defined callback method ?

As you can see, I am redirecting the user's browser to a static URL, but I'd like this URL to be dynamic, depending on custom parameters received when Google (the identity provider in this case) calls my
CallbackmethodIs this possible ?
-
@francis-ducharme
To confirm, you are:
- Sending the user to a page such as:
https://local.fusionauth.io/oauth2/authorize?client_id=85a03867-dccf-4882-adde-1a79aeec50df&response_type=code&redirect_uri=https%3A%2F%2Fthird.com- The user will click
login with Googleor be redirected automatically to Google (if using anidp_hint, for instance)
In this case, FusionAuth will redirect to
https://third.com(example only) but could just as easily redirect tohttps://fourth.comdepending on step one. In either case, all possible redirect URLs for your application need to be previously defined on the OAuth configuration for that application.Also, we do have a few github issues allowing a wildcard to be defined for a redirect URL.
With more context, I might be able to provide additional feedback. Depending on context, deeplinking might also be something worth exploring
Thanks,
Josh -
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login