Skip to content

Add identities claim to userinfo endpoint#5743

Open
carmenlau wants to merge 17 commits into
authgear:mainfrom
carmenlau:dev-3606-impl
Open

Add identities claim to userinfo endpoint#5743
carmenlau wants to merge 17 commits into
authgear:mainfrom
carmenlau:dev-3606-impl

Conversation

@carmenlau
Copy link
Copy Markdown
Contributor

@carmenlau carmenlau requested a review from tung2744 May 28, 2026 10:25
@carmenlau carmenlau changed the title [WIP] Add identities claim to userinfo endpoint Add identities claim to userinfo endpoint Jun 1, 2026
carmenlau and others added 17 commits June 3, 2026 14:50
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…th_provider_alias in identities claim spec

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…laim

- UserInfoIdentity gains CreatedAt, UpdatedAt (matching UserInfoAuthenticator)
  and LoginIDKey (populated when type is login_id)
- Population logic in getUserInfoFromDatabase sets all three fields
- Update unit tests and e2e test to assert the new fields

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ider_alias in identities claim

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@carmenlau
Copy link
Copy Markdown
Contributor Author

carmenlau commented Jun 3, 2026

Updated to rename provider_type/provider_alias to oauth_provider_type/oauth_provider_alias.

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