The most scalable and customizable identity server on the market. Replace your Homegrown, Auth0, Okta, Firebase with better UX and DX. Has all the tablestakes: Passkeys, Social Sign In, Multi-Factor Auth, SMS, SAML, TOTP, and more. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
This PR fixes an issue when duplicate credentials error added by OIDC strategy into new login flow is lost because code strategy clears all messages when populating login flow.
[ x] I confirm that this pull request does not address a security
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got the approval (please contact
security@ory.sh) from the maintainers to push
the changes.
[ ] I have added tests that prove my fix is effective or that my feature
works.
This PR fixes an issue when duplicate credentials error added by OIDC strategy into new login flow is lost because code strategy clears all messages when populating login flow.
This is where OIDC strategy adds duplicate credentials error into flow ui messages list: https://github.com/ory/kratos/blob/234b6f2f6435c62b7e161c032b888c4e2b3328d4/selfservice/strategy/oidc/strategy.go#L581-L590
Related issue(s)
Checklist
Further Comments