You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting up an instance of Keycloak and using current examples with their latest versions, logging in via. the thrid-party-service Keycloak on a local instance results in an error, which message is "Unable to exchange external code", found in the redirect URL.
Bug report
Describe the bug
After setting up an instance of Keycloak and using current examples with their latest versions, logging in via. the thrid-party-service Keycloak on a local instance results in an error, which message is "Unable to exchange external code", found in the redirect URL.
To Reproduce
npx create-next-app --example "https://github.com/valerius21/auth-helpers/tree/main/examples/nextjs".env.localfile (NEXT_PUBLIC_SUPABASE_URLandNEXT_PUBLIC_SUPABASE_ANON_KEY)pages/index.tsx:38fromproviders={["google", "github"]}toproviders={["google", "github", "keycloak"]}yarn devhttp://localhost:3000should have three buttons, one of which has no icon inside.Expected behavior
A user session, similar to other OAuth2 providers, like Google, GitHub, etc., where querying DB content and one's user profile is possible.
Screenshots
supabase_issue.mp4
System information
Previous attempts to resolve the issue
302requests.