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.

SSO + change user button

See original GitHub issue

The idea of disabling SSO is great and its no longer needed for us to open Firefox in incognito mode if we want to use another user. What would be the best way of integrating the SSO solution, but with the option to change the user? I’d rather not do it static and dirty as I first started doing 😄

EDIT: I could say my initial solution was to create something like this, but it don’t really handle logouts:

def change_user(request):
    url = provider_config.build_authorization_endpoint(request)
    password_url = url + "&prompt=login"
    return redirect(password_url)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jobeccommented, Dec 10, 2018

Please test it and if it works fine, I’ll release it as v1.1.2

1reaction
jobeccommented, Dec 10, 2018

You’re right… It’s not going to work because the link is to a page on the same server that then redirects to ADFS. It’s even strange that it worked on Firefox.

So solution 2 is the only way forward.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change accounts when logged in via SSO - Forums - IBM
When using username and password a drop-down appears on the login screen, but as this screen never gets shown for SSO, how can...
Read more >
How do I implement a "switch account" button/dialog for Azure ...
1 Answer 1 ... Set prompt=login in login url which forces the user to enter their credentials on that request, negating single-sign on....
Read more >
How to Change the Default Single Sign On (SSO) WordPress ...
Back inside your GridPane account, click on the SSO button and confirm you're now logged in as the correct admin user. Once done...
Read more >
SSO logon button on login page - Oracle Communities
Clients with SSO/SAML have a small button on the bottom left of the login page under "or sign in with." Many would like...
Read more >
How to change the Display Name that appears on the button ...
Answer: · In Admin, select Authentication, and then select Manage SSO settings under Single sign-on. · Under Single sign-on, select Edit display name....
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