Add "user info" endpoint for the Delivery API#17719
Merged
Conversation
elit0451
approved these changes
Dec 9, 2024
Contributor
elit0451
left a comment
There was a problem hiding this comment.
Tests out great 💪 Merging
Contributor
|
@kjac any scheduled release date for v13.6.0? Perhaps an early Christmas present? 😉😍🎁🎄🎅 |
5 tasks
Contributor
@kjac do you have an example of this? I have something like this: but unsure how it should override/replace the default. I tried something like this in a composer: I also added some documentation of the |
This was referenced Sep 28, 2025
This was referenced Oct 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisites
If there's an existing issue for this PR then this fixes #17508
Description
This PR adds a "user info" endpoint to the Delivery API, to access basic information about authorized members. See the linked discussion for details on the motivation for adding this endpoint.
The "user info" endpoint is part of the OpenId Connect core spec.
This implementation returns a few of the standard claims, all of which are subject of availability:
sub(required claim)name(if available)email(if available)On top of this, the member groups (if any) are returned in the
roleclaim.The implementation is build to be extendable, so custom claims can be added to these claims - and the core claims can be removed, too.
Testing this PR
To test this PR, authorized member access must be enabled and setup for the Delivery API - see the docs.
Verify that:
ICurrentMemberClaimsProvider(or a specialization ofCurrentMemberClaimsProvider)./.well-known/openid-configuration.