zitadel/internal/auth/repository
Livio Spring 650c21f18a
fix: check if pw login allowed (#8584)
# Which Problems Are Solved

When checking for the next step for the login UI and a user did not yet
have an IdP linked, they would always be presented the password check
screen, even if the local authentication was disabled.

# How the Problems Are Solved

- Correctly check the login policy for the `Allow Username Password`
option
- In case the user has no IdP linked yet, fallback to the organizations
configuration (and redirect if possible)
- the user can be auto-linked based on the username / email after
successfully authenticating at the IdP

# Additional Changes

None

# Additional Context

- closes https://github.com/zitadel/zitadel/issues/5106
- closes https://github.com/zitadel/zitadel/issues/7502
2024-09-10 12:55:32 +02:00
..
eventsourcing fix: check if pw login allowed (#8584) 2024-09-10 12:55:32 +02:00
auth_request.go feat(idp): provide option to auto link user (#7734) 2024-04-10 15:46:30 +00:00
org.go feat(login): use new IDP templates (#5315) 2023-02-28 21:20:58 +01:00
refresh_token.go chore: upgrade to oidc v2 release (#5437) 2023-03-28 11:28:56 +00:00
repository.go fix: move activity log to queries and remove old code (#3096) 2022-01-26 10:16:33 +01:00
token.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
user_session.go refactor: cleanup unused code (#7130) 2024-01-02 14:26:31 +00:00
user.go feat(oidc): end session by id_token_hint and without cookie (#8542) 2024-09-04 10:14:50 +00:00