Skip to content

Commit ba793b5

Browse files
committed
Add more docs
1 parent cfc045f commit ba793b5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

aspnetcore/security/authentication/configure-jwt-bearer-authentication.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,14 @@ Duende.AccessTokenManagement.OpenIdConnect is a great Nuget package for handlin
264264
> Note
265265
> If deploying the production, the cache should work in a mutli-instance deployment and a persistent cache is normally required.
266266
267-
## Encypted access tokens
267+
Some secure token servers encrypt the access tokens. Access tokens do not require any format. When using OAuth introspection, a reference token is used instead of an access token. A client (UI) application should never open an access token as the access token is not intended for this. Only an API for which the access token was created for should open the access token.
268+
269+
* Do not open access tokens in a UI application
270+
* Do not send the ID token to the APIs
271+
* Access tokens can have any format
272+
* Access tokens can be encrypted
273+
* Access tokens expire and need to be rotated
274+
* Access tokens are persisted on a secure backend server
268275

269276
## YARP
270277

0 commit comments

Comments
 (0)