Extend Delivery API to get user/member info #17508
Closed
bjarnef
started this conversation in
Features and ideas
Replies: 4 comments 1 reply
-
@bergmania @kjac could you check this? 😉 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This makes a ton of sense. As a bare minimum, we should expose the member name and email 👍 We could also consider exposing all custom properties that aren't marked as sensitive? |
Beta Was this translation helpful? Give feedback.
1 reply
-
PR in #17719 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Implemented in #17719 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently it seems there isn't any way to fetch information of current logged in member.
https://docs.umbraco.com/umbraco-cms/13.latest/reference/content-delivery-api/protected-content-in-the-delivery-api?fallback=true
It seems there's a
SetUserinfoEndpointUris()
which could be used:https://dev.to/robinvanderknaap/setting-up-an-authorization-server-with-openiddict-part-v-openid-connect-a8j
but isn't set here:
https://github.com/umbraco/Umbraco-CMS/blob/v13/dev/src/Umbraco.Cms.Api.Common/DependencyInjection/UmbracoBuilderAuthExtensions.cs#L36-L43
I found an example here to get
userinfo
:https://github.com/openiddict/openiddict-samples/blob/dev/samples/Velusia/Velusia.Server/Controllers/UserinfoController.cs#L28
Is it possible to configure this with your own endpoint for now?
Beta Was this translation helpful? Give feedback.
All reactions