Checklist
Describe the bug
When this toggle is off:
We used to get a nice error message that just states "account not found" or something generic when we have this toggle off, now we get an 500 error screen
Reproducing the bug
Set the privacy toggle to "Off" which means do not expose detail error message.
Try a login screen with an unkonwn email,
You will get this screen (in dutch):
Logs
curl 'https://auth-dev.pgbeetje.nl/login?action=continue_with_login_identifier%406096f208-70e8-4c24-b705-e7a8209b7c43' \
-X POST \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0' \
-H 'Accept: application/json' \
-H 'Accept-Language: nl,en-US;q=0.9,en;q=0.8' \
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
-H 'Content-Type: application/json' \
-H 'X-Language: nl' \
-H 'Origin: http://localhost:3027' \
-H 'Sec-Fetch-Storage-Access: none' \
-H 'DNT: 1' \
-H 'Sec-GPC: 1' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'Connection: keep-alive' \
--data-raw '{"input_data":{"identifier":"harm_budgethddsadsaouder@nullix.nl"},"csrf_token":"Htx0JLUHzAbtJJSqssW3nvLirsHwcsZ1"}'
Response:
{"name":"error","status":500,"payload":{},"csrf_token":"tCErDpUm78l4tZUm0SJnWtpWSrMeAoSc","actions":{},"error":{"code":"flow_discontinuity_error","message":"The flow can't be continued."},"links":null}
Configuration
Hanko Version
2.5.0
OS Hanko Backend
None
OS Version Hanko Backend
No response
OS
macOS
OS Version
MAcOS 26.3 (25D125)
Browser Version
Firefox 148.0 (aarch64)
Environment
None
Additional Context
I am just using Hanko Cloud.
You may check our config in Hanko:
organizations/5671afbf-f9ae-46a2-a6be-2b80dd321bb1/projects/2aca895a-d2a5-4389-8a18-423642acdab9
Checklist
Describe the bug
When this toggle is off:
We used to get a nice error message that just states "account not found" or something generic when we have this toggle off, now we get an 500 error screen
Reproducing the bug
Set the privacy toggle to "Off" which means do not expose detail error message.
Try a login screen with an unkonwn email,
You will get this screen (in dutch):
Logs
Configuration
Hanko Version
2.5.0
OS Hanko Backend
None
OS Version Hanko Backend
No response
OS
macOS
OS Version
MAcOS 26.3 (25D125)
Browser Version
Firefox 148.0 (aarch64)
Environment
None
Additional Context
I am just using Hanko Cloud.
You may check our config in Hanko:
organizations/5671afbf-f9ae-46a2-a6be-2b80dd321bb1/projects/2aca895a-d2a5-4389-8a18-423642acdab9