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
Hi. Is there a way to open web links inside the Code Server (i.e. in another window in the IDE), rather than the enclosing browser?
As an example use case, heroku login doesn't work the current way because of an "IP Mismatch" (A workaround to this is using interactive login). There are other benefits as well.
When you run heroku login, it gives you a link you should open in your browser to create an OTP and log in the Heroku cli (2FA etc). However, if you do so from the code-server and open the given link in the browser of your local machine, Heroku complains "IP Mismatch", possibly because the machine on which the link is generated is not the machine on which the browser is running.
Activity
mauri-sfdc commentedon Jan 25, 2022
Could you expand on the heroku login issue? where's the IP Mismatch and how could this solve it.
Thanks
aghasemi commentedon Jan 25, 2022
When you run
heroku login, it gives you a link you should open in your browser to create an OTP and log in the Heroku cli (2FA etc). However, if you do so from the code-server and open the given link in the browser of your local machine, Heroku complains "IP Mismatch", possibly because the machine on which the link is generated is not the machine on which the browser is running.jsjoeio commentedon Jan 25, 2022
Please use our Q and A for things like this!