-
Hi. I have a reverse proxy setup to forward https://auth.domain.com to http://localhost:9011 and it's working fine for normal login, and administration. However, using the included Google IdP, the login button would add the extra port number to my redirect_uri and thus makes it return the
Error 400: redirect_uri_mismatch
The error details:
Error 400: redirect_uri_mismatch You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cloud Console. Request details: redirect_uri=https://auth.domain.com:9011/oauth2/callbackAs you can see, it includes the extra port 9011. I'm not sure if this is a bug or some setting that I not aware of. Any help would be appreciated. Thank you.
-
An update.
So, I tried adding another IdP. This time with MS/Azure AD (using the tutorial https://fusionauth.io/docs/v1/tech/identity-providers/openid-connect/azure-ad). While going through the process, it seems that the port number was also added this redirect_uri here. So my guess is, it's hardcoded somewhere for the IdP stuff, and get inserted as part of the redirect without checking the domain/port FA is currenlty being run on.
-
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