-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 400: redirect_uri_mismatch in Google OAuth2 with Symfony and KnpOAuth2ClientBundle #451
Comments
Hey @MikeKe254 , Are you sure that |
Hi @bocharsky-bw, I've reviewed my code thoroughly and couldn't find where the GoogleAuthenticator.php:
GoogleController.php:
I've verified the configuration and checked for any potential sources of the |
I'm encountering a 400: redirect_uri_mismatch error when trying to authenticate with Google OAuth2 in a Symfony application using the KnpOAuth2ClientBundle. The redirect URI being sent from my application is:
http://localhost:8000/connect/google/check flowName=GeneralOAuthFlow
However, Google does not allow whitespace in the redirect URI. The correct format should be:
http://localhost:8000/connect/google/check?flowName=GeneralOAuthFlow
Despite having disabled additional parameters in my configuration, I'm still seeing them appended. My configuration is as follows:
The text was updated successfully, but these errors were encountered: