-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configurable post_logout_redirect_uri #90
Conversation
Codecov Report
@@ Coverage Diff @@
## master #90 +/- ##
============================================
+ Coverage 91.32% 93.65% +2.32%
Complexity 113 113
============================================
Files 10 10
Lines 392 394 +2
============================================
+ Hits 358 369 +11
+ Misses 34 25 -9
Continue to review full report at Codecov.
|
@@ -145,7 +145,9 @@ public function afterLogout($accessToken, $idToken): void { | |||
$this->session->remove('oca.openid-connect.refresh-token'); | |||
$this->session->remove('oca.openid-connect.id-token'); | |||
$this->logger->debug('OIDC Logout: ending session ' . $accessToken . ' id: ' . $idToken); | |||
$this->client->signOut($idToken, null); | |||
$openIdConfig = $this->client->getOpenIdConfig(); | |||
$redirectUri = $openIdConfig['post_logout_redirect_uri'] ?? null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isset ? the key might be completly missing - right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Add postlogout redirect URI
Types of changes
Checklist:
Open tasks: