zitadel/internal/auth/repository/eventsourcing/eventstore
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
..
auth_request_test.go fix: check if pw login allowed (#8584) 2024-09-10 12:55:32 +02:00
auth_request.go fix: check if pw login allowed (#8584) 2024-09-10 12:55:32 +02:00
org.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
refresh_token.go fix: reduce eventual consistency (#7075) 2023-12-14 11:07:47 +01:00
token.go chore(oidc): add additional spans to userinfo code paths (#7749) 2024-04-10 17:05:13 +02:00
user_session.go feat(oidc): end session by id_token_hint and without cookie (#8542) 2024-09-04 10:14:50 +00:00
user.go feat(oidc): end session by id_token_hint and without cookie (#8542) 2024-09-04 10:14:50 +00:00