Skip to content

feat: Fix "User not found" error for expired IDP sessions#50

Merged
JoseSzycho merged 1 commit intomainfrom
fix/failing-loginName-search
Jan 21, 2026
Merged

feat: Fix "User not found" error for expired IDP sessions#50
JoseSzycho merged 1 commit intomainfrom
fix/failing-loginName-search

Conversation

@JoseSzycho
Copy link
Collaborator

@JoseSzycho JoseSzycho commented Jan 21, 2026

Description: Fixed an issue where users authenticated via identity providers (IDP) encountered a "User not found in the system" error when interacting with expired sessions on the /accounts page.

This was caused by the session storing an IDP-specific username (e.g., GitHub handle) as the loginName, which is not directly searchable in ZITADEL when both email and phone login methods are disabled.

Relates to: #42

@JoseSzycho JoseSzycho merged commit 4af4d07 into main Jan 21, 2026
2 of 3 checks passed
@JoseSzycho JoseSzycho deleted the fix/failing-loginName-search branch January 21, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants