#2338·hanko

500 response during social login (google)

Author: willyfromtheblockCreated Dec 12, 2025Updated Feb 27, 2026
Labelsbug

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

Describe the bug

500 response from hosted hanko instance and short flicker of "An error has occured" during social login - the login is succesful, but the error flicker in between is irritating

Reproducing the bug

1.) /login with

Image Continue with google

2.) Redirect to google 3.) Select google account 4.) Redirect back to /login were

Image shows for < 1 s

5.) onSessionCreated fires and redirect to application dashboard

Logs

bash
`POST | https://auth.domain.com/login?action=back@uuid`

Response
`
{"name":"error","status":500,"csrf_token":"","actions":{},"error":{"code":"technical_error","message":"Something went wrong."},"links":null}`

`x-request-id  EajOEUxIXXHblEkKbpGnZUzFnFMiHAlb`

`	"@teamhanko/hanko-elements": "^2.3.0",`

Configuration

yaml

Hanko Version

2.30

OS Hanko Backend

Other

OS Version Hanko Backend

hosted

OS

Linux

OS Version

No response

Browser Version

Firefox + Chrome

Environment

Other (e.g. Kubernetes)

Additional Context

No response