Files
zooqueen 231838cbee dataroom: sign in with Hanzo takes the OIDC callback
hanzo.id is an OIDC provider and returns an id_token. The provider declared
idToken: false, so next-auth used the plain-OAuth2 callback and openid-client
threw on a token response it could not account for:

  id_token detected in the response, you must use client.callback()
  instead of client.oauthCallback()

A signing-in user saw only /api/auth/signin?error=OAuthCallback and a red
"Try signing in with a different account." — which points at the account, and
the account was never the problem.

What made this easy to call working: the sign-in HANDOFF is healthy. The button
reaches hanzo.id with the right client_id and an allowlisted redirect_uri, and
a real login page renders. Only the trip back was broken, and nothing before
the callback shows it. Verifying a login means completing one.

profile() reads sub/name/email/picture/owner, all of which the id_token
carries, so the mapping is unchanged; userinfo stays declared for the claims
the token does not hold.
2026-08-14 17:44:20 -07:00
..
2026-01-01 09:52:00 +01:00
2026-08-09 11:31:05 -07:00
2024-05-13 14:52:25 +02:00
2025-12-27 15:01:41 +01:00
2026-08-09 11:31:05 -07:00
2024-05-13 14:52:25 +02:00
2025-09-04 10:14:25 +05:30