logout asks for user to login to complete action
See original GitHub issueIssue Description
This is taken from a user on the anaconda mailing list. He’s seeing some pretty weird behavior.
(root)$ anaconda --version
anaconda Command line client (version 1.1.2)
(root)$ anaconda login
Using anaconda-server api site https://api.anaconda.org
Username: drf5n
drf5n's Password:
[WARNING] It appears you are already logged in from host v21837.local
[WARNING] Logging in again will remove the previous token. (This could cause troubles with virtual machines with the same hostname)
[WARNING] Otherwise you can login again and specify a different hostname with "--hostname"
Would you like to continue [Y|n]: y
drf5n's login successful
(root)$ anaconda whoami
Using anaconda-server api site https://api.anaconda.org
Anonymous User
(root)$ anaconda logout
Using anaconda-server api site https://api.anaconda.org
The action you are performing requires authentication, please sign in:
Using anaconda-server api site https://api.anaconda.org
Username: drf5n
drf5n's Password:
[WARNING] It appears you are already logged in from host v21837.local
[WARNING] Logging in again will remove the previous token. (This could cause troubles with virtual machines with the same hostname)
[WARNING] Otherwise you can login again and specify a different hostname with "--hostname"
Would you like to continue [Y|n]: y
drf5n's login successful
Using anaconda-server api site https://api.anaconda.org
[Unauthorized] (u'This domain requires token authentication', 401)
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Login and Logout Actions - Perspective Component Actions
So, if you've designed your project in such a way that a user can have unauthenticated access, you may want to occasionally give...
Read more >Login and logout actions not working - WordPress.org
The first thing to do to troubleshoot is therefore to confirm that the login and logout requests are actually fired at login/logout by...
Read more >Check Login and Logout Issues - Auth0
Is the user trying to login to the second application from the same browser as their initial login? · Go to your Tenant...
Read more >Solving the logout problem properly and elegantly - InfoWorld
The Web application displays a login page asking the user to enter a valid credential. She types in the userid and password.
Read more >Login and Logout - Introduction
The Login and Logout actions can be used to log users in and out. Login. The Login action requests the OpenID provider's authorization...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@PeterDSteinberg to reproduce, can you try to log in and then remove the token from the gui
/settings/access
-> details -> Revoke Token.Then try running the
anaconda logout
command.@dsludwig – I only had ‘–add-channels default’ listed, with no other channels or tokens listed.
@srossross – Latest release of what? ‘conda update conda’ didn’t fix it. A ‘conda update anaconda’ appears to allow me to logout without asking for me to login again. But even with an updated conda and anaconda, login doesn’t appear to recognize that I’m logged in properly:
I also still get the same series of errors if I try ‘conda create -n test_r -c r r-essentials’ as above. If I let the error loop run for a while it eventually faults out with a “RuntimeError: maximum recursion depth exceeded in cmp”.