You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apologies for this. There is some really complex logic around logging out existing tokens when logging in that wasn't quite right. The login should still work even though it's erroring out though. I've got a fix ready that should be out in a few minutes
BTW because what this is doing is saving the last used org and login method into the netrc file, if you run heroku logout it will clear that setting and won't remember you used sso the last time.
I feel this behavior is fine since it still works if you run a command like heroku apps and the sso session is not valid. It will remember the org and method as sso for the next login attempt. It's just if you explicitly call heroku logout that will clear any existing settings.
heroku version is showing 7.0.34 right? I've tested a few scenarios with logout and I'm not sure how this situation is possible. Right now it looks like old code.
@jdxcode I found I had several old versions installed. I used pip to remove all versions with the intent of installing the latest. However, brew install heroku only installs 7.0.30. I've updated brew, so I'm not sure what the issue is.
Activity
zeke commentedon May 8, 2018
jdx commentedon May 8, 2018
apologies for this. There is some really complex logic around logging out existing tokens when logging in that wasn't quite right. The login should still work even though it's erroring out though. I've got a fix ready that should be out in a few minutes
jdx commentedon May 8, 2018
BTW because what this is doing is saving the last used org and login method into the netrc file, if you run
heroku logoutit will clear that setting and won't remember you used sso the last time.I feel this behavior is fine since it still works if you run a command like
heroku appsand the sso session is not valid. It will remember the org and method as sso for the next login attempt. It's just if you explicitly callheroku logoutthat will clear any existing settings.jdx commentedon May 8, 2018

seems to be working well nowJoble commentedon May 8, 2018
I have upgraded to 7.0.34. heroku logoff actually seems to be acting like logon, and then it's still looping asking for tokens.
Joble commentedon May 8, 2018
jdx commentedon May 8, 2018
@Joble what method did you install the CLI through?
Joble commentedon May 8, 2018
@jdxcode I had it installed already, but I used brew upgrade heroku once I saw your comments a bit ago.
jdx commentedon May 8, 2018
heroku versionis showing7.0.34right? I've tested a few scenarios with logout and I'm not sure how this situation is possible. Right now it looks like old code.Joble commentedon May 8, 2018
@jdxcode I found I had several old versions installed. I used pip to remove all versions with the intent of installing the latest. However, brew install heroku only installs 7.0.30. I've updated brew, so I'm not sure what the issue is.
jdx commentedon May 8, 2018
run
heroku updateJoble commentedon May 8, 2018
@jdxcode Thank you!
zeke commentedon May 9, 2018
thanks for this. will give it another try.