heroku-accounts | Helps use multiple accounts on Heroku | Platform As A Service library
kandi X-RAY | heroku-accounts Summary
kandi X-RAY | heroku-accounts Summary
Helps use multiple accounts on Heroku.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of heroku-accounts
heroku-accounts Key Features
heroku-accounts Examples and Code Snippets
Community Discussions
Trending Discussions on heroku-accounts
QUESTION
I cannot seem to change my account to push to heroku. When I do "$git push heroku master" it tells me that accountA@mail.com does not have access. However, "$heroku whoami" shows accountB@mail.com. No matter what I try, it shows that I am logged in with accountB@mail.com but tries to push to heroku with accountA@mail.com.
I have tried "$heroku login". It changes my account but does not let me push to heroku with that account.
I have tried https://github.com/heroku/heroku-accounts with "$heroku accounts:set accountB" and it does the same thing. Changes the whoami, but does not let me push with that account.
Is there any solution to this?
...ANSWER
Answered 2020-Apr-08 at 06:07I figured out a solution to this, that honestly is not ideal, but it works. I went to the Heroku website and logged in with accountB. Then I just gave permission to accountA@mail.com.
login > my_app > Access > "Add collaborator"
It's not ideal and not how I would like to do it, but it works and I got sick of trying to solve it and was just glad for any solution.
QUESTION
For years I've used the heroku-accounts plug-in to easily switch between different Heroku accounts when using the Heroku CLI toolbelt.
As of about a month ago, however, it has stopped working. Whenever I switch over to an account and try to do something, like log in to Rails console, I get the error "Invalid credentials provided." It then prompts me to type a letter, which opens a browser, which then prompts me to log in. In other words, I have to re-log in whenever I switch accounts, which is exactly what the plug in is supposed handle.
(heroku-accounts version = 1.1.7)
...ANSWER
Answered 2019-Aug-27 at 12:13Thanks to this thread from @Chris, I played around with removing and re-adding the accounts until I finally got it working.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install heroku-accounts
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page