Skip to content

Commit b8a7ff6

Browse files
Add note about access-token endpoint to README
1 parent e855497 commit b8a7ff6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ The SDK mounts 6 routes:
158158
5. `/auth/access-token`: the route to check the user's session and return an access token (which will be automatically refreshed if a refresh token is available)
159159
6. `/auth/backchannel-logout`: the route that will receive a `logout_token` when a configured Back-Channel Logout initiator occurs
160160

161+
> [!IMPORTANT]
162+
> The `/auth/access-token` route is enabled by default, but is only neccessary when the access token is needed in the client. If this isn't something you need, you can disable this endpoint by setting `enableAccessTokenEndpoint` to `false`.
163+
161164
## Feedback
162165

163166
### Contributing

0 commit comments

Comments
 (0)