Skip to content

Commit 74f17e8

Browse files
authored
Update protected-content-in-the-delivery-api.md
1 parent e9ad643 commit 74f17e8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

13/umbraco-cms/reference/content-delivery-api/protected-content-in-the-delivery-api.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,28 @@ To terminate the active session for any given member, you must redirect the brow
382382
GET /umbraco/delivery/api/v1/security/member/signout?post_logout_redirect_uri={valid URL from LogoutRedirectUrls}
383383
```
384384

385+
### User info
386+
387+
The "user info" endpoint is part of the OpenId Connect core spec.
388+
389+
This implementation returns a few of the standard claims, all of which are subject of availability:
390+
391+
- `sub` (required claim)
392+
- `name` (if available)
393+
- `email` (if available)
394+
395+
On top of this, the member groups (if any) are returned in the role claim.
396+
397+
The implementation is build to be extendable, so custom claims can be added to these claims - and the core claims can be removed, too.
398+
399+
```http
400+
GET /umbraco/delivery/api/v1/security/member/userinfo
401+
```
402+
403+
{% hint style="warning" %}
404+
This was introduced in Umbraco 13.6.0.
405+
{% endhint %}
406+
385407
## Testing with Swagger
386408

387409
The Delivery API Swagger document can be configured to support member authentication.

0 commit comments

Comments
 (0)