question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not log out when using OIDC

See original GitHub issue

Describe the bug I enabled OIDC authentication using Google. I can log in using my Google account. However, when I try to log out, I am immediately logged back in. There is no way of selecting a different account.

To Reproduce Steps to reproduce the behavior:

  1. Enable Google Authentication
  2. Log in
  3. select Logout in the top right dropdown menu
  4. you are redirected to the homepage and still logged in

Expected behavior I would expect a page stating that I was logged out successfully, preferably with a link allowing me to log back in. When logging back in, I should be able to select the previous account, or use a different one.

Screenshots logout

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.4 LTS
  • Browser Firefox
  • Version 99.0 (64-bit)

Additional context Same behaviour in other browsers.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sunli1223commented, Jul 25, 2022

I have a workaround solution, just only edit the code(change the href url)

<li class="ant-dropdown-menu-item ant-dropdown-menu-item-danger ant-dropdown-menu-item-only-child sc-pNWdM XJxhY" role="menuitem" tabindex="0" data-menu-id="rc-menu-uuid-97193-1-logout"><a href="/">Sign Out</a></li>

to

<li class="ant-dropdown-menu-item ant-dropdown-menu-item-danger ant-dropdown-menu-item-only-child sc-pNWdM XJxhY" role="menuitem" tabindex="0" data-menu-id="rc-menu-uuid-97193-1-logout"><a href="/logOut">Sign Out</a></li>
0reactions
jjoyce0510commented, Aug 2, 2022

This will be included in the next release.

Thanks for your input in helping solve this folks!

John

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Cannot sign out the OpenIdConnect authentication of ...
To allow the signing out to occur use the following Logout action: public async Task Logout() { await HttpContext.
Read more >
OpenID Connect Single Logout | Curity Identity Server
Back-Channel Logout specifies a server-to-server communication for the logout request. Therefore there is no dependency on the user agent. As a result, users ......
Read more >
OpenID Connect Logout - Medium
This blog post explores the use of OIDC for logout of the local ... This is not a good protocol to build a...
Read more >
Final: OpenID Connect RP-Initiated Logout 1.0
RP-Initiated Logout. An RP requests that the OP log out the End-User by redirecting the End-User's User Agent to the OP's Logout Endpoint....
Read more >
Cannot log out using OpenID Connect - Authentication
Cannot log out using OpenID Connect ... But when they attempt to logout, Moodle just redirects to the to myhome and the user...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found