Repository navigation
Google Identity Provider: 403 Forbidden error on callback endpoint after authentication #45105
Replies: 1 comment
|
I solved my problem by using SAML. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
I have configured Google as an Identity Provider in my Keycloak realm. The initial redirection to Google works correctly, and I can successfully authenticate with my Google account.
However, when Google redirects the browser back to Keycloak (to the
/broker/google/endpointURL), I immediately get a 403 Forbidden page.I have checked the server logs, but I do not see any specific error message corresponding to this 403 event in the Keycloak logs.
Environment
Steps to Reproduce
https://[my-keycloak-url]/realms/[my-realm]/broker/google/endpointand displays a 403 Forbidden error.Expected Behavior
Keycloak should accept the callback from Google, create/link the user, and log them in successfully.
Additional Information
Frontend URLis correctly configured in Realm settings.Question:
Could you provide guidance on how to debug this 403 error on the endpoint? Are there known infrastructure configurations (like headers or buffer sizes) required for the Google IdP callback to work?
All reactions