Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign in 404 error on VSCode #144

Open
zaramichaela opened this issue Oct 27, 2024 · 1 comment
Open

Sign in 404 error on VSCode #144

zaramichaela opened this issue Oct 27, 2024 · 1 comment

Comments

@zaramichaela
Copy link

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

@djames-bloom
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants