You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Auth0 Laravel SDK supports [Backchannel Logout](https://auth0.com/docs/authenticate/login/logout/back-channel-logout) from v7.12 onward. To use this feature, some additional configuration is necessary:
4
+
5
+
1.**Add a new route to your application.** This route must be publicly accessible. Auth0 will use it to send backchannel logout requests to your application. For example:
6
+
7
+
```php
8
+
Route::post('/backchannel', function (Request $request) {
2.**Configure your Auth0 tenant to use Backchannel Logout.** See the [Auth0 documentation](https://auth0.com/docs/authenticate/login/logout/back-channel-logout/configure-back-channel-logout) for more information on how to do this. Please ensure you point the Logout URI to the backchannel route we just added to your application.
16
+
17
+
Note: If your application's configuration assigns `false` to the `backchannelLogoutCache` SDK configuration property, this feature will be disabled entirely.
Copy file name to clipboardExpand all lines: docs/Configuration.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,8 @@ The following environment variables are supported, but should not be adjusted un
85
85
|`AUTH0_CLIENT_ASSERTION_SIGNING_KEY`|`String` The key to use for signing client assertions. |
86
86
|`AUTH0_CLIENT_ASSERTION_SIGNING_ALGORITHM`|`String` The algorithm to use for signing client assertions. Defaults to `RS256`. |
87
87
|`AUTH0_PUSHED_AUTHORIZATION_REQUEST`|`Boolean` Whether the SDK should use Pushed Authorization Requests during authentication. Note that your tenant must have this feature enabled. Defaults to `false`. |
88
+
|`AUTH0_BACKCHANNEL_LOGOUT_CACHE`|`String (class name)` A PSR-6 class to use for caching backchannel logout tokens. |
89
+
|`AUTH0_BACKCHANNEL_LOGOUT_EXPIRES`|`Integer` How long (in seconds) to cache a backchannel logout token. Defaults to `2592000` (30 days). |
0 commit comments