🔒 Force Single Logout (#77)

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit was merged in pull request #77.
This commit is contained in:
2020-08-13 18:01:58 +01:00
committed by GitHub
parent dcc82eb424
commit 01a726c95c
2 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
// Perform the OIDC authentication
try {
$oidc->authenticate();
$_SESSION['access_token'] = $oidc->requestClientCredentialsToken()->access_token;
$oidc_user = array(
'sub' => $oidc->requestUserInfo('sub'),
'username' => $oidc->requestUserInfo('preferred_username'),