writer icon indicating copy to clipboard operation
writer copied to clipboard

Sign in 404 error on VSCode

Open zaramichaela opened this issue 1 year ago • 4 comments

image image I’m currently unable to log in, so I can't access Mintlify. Could you assist with resolving this issue?

zaramichaela avatar Oct 27 '24 05:10 zaramichaela

I have found a work around for this.

  1. Select login from the extension, or directly visit the composed URL
https://mintlify.us.auth0.com/authorize?response_type=code&client_id=MOMiBZylQGPE0nHpbvzVHAT4TgU0DtcP&redirect_uri=https://mintlify.com/start/vscode&scope=openid profile email offline_access

This URL is composed from the elements found in vscode/src/helpers/auth.ts

  1. Log in to your selected account through the Auth-0 link

  2. You will be redirected to a 404 page

  3. Look in the URL of this 404 page for the code parameter and copy it

  4. Use this code to compose the following VSCode app URL in your browser

vscode://mintlify.document/auth?code={{ code from previous step }}
  1. You will be asked if you want to open this URL in VSCode, Select allow

  2. In VS code you will be asked if you want Mintlify Doc Writer to handle this link. Select allow

  3. You should see a pop-up notification in the bottom right of the VSCode window stating that you are now logged in.

djames-bloom avatar Feb 17 '25 13:02 djames-bloom

not working

Meghanadhanani avatar Apr 15 '25 09:04 Meghanadhanani

thanks that worked!

pizzapi2012 avatar Jun 10 '25 02:06 pizzapi2012

It worked! Thank you

Zack-Fr avatar Jul 05 '25 13:07 Zack-Fr