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

Error: Your authorization request has expired, please try again. #55

Open
Aayush-engineer opened this issue Jan 2, 2025 · 2 comments
Open

Comments

@Aayush-engineer
Copy link

Are there any additional details you would like to share?


Command: anchor lcl
Executable: C:\Program Files\Anchor CLI\anchor.exe
Version: 0.1.8 (windows/amd64) Commit: 3b95788fdc0bb053b999b85f7fe08856e54e954c BuildDate: 2024-12-03T15:52:46Z
Arguments: []
Flags: []
Timestamp: 2024-12-22T10:22:59.771158Z
Stdout:

                                           
# Signin to Anchor.dev `anchor auth signin`
    | Please sign up or sign in with your Anchor account.
    | 
    | Once authenticated, we can provision your personalized Anchor resources to
    | power HTTPS in your local development environment.
    - Copied your user code LSXS-NRNC to your clipboard.
    - Opened https://anchor.dev/users/sign_in/cli?signup_src=lclhost in your browser.
    * Signing in… ⠋
@geemus
Copy link
Contributor

geemus commented Jan 2, 2025

Hey, sorry to hear you are having issues here.

It should have opened a browser window for you to finish the process in. Did you see that? It lists the url there that you can open directly too if needed.

Otherwise, I would only expect the error you shared if you did not do the browser flow within about 10 minutes of starting things. Does that match with your experience?

If you try again it's likely to work, but do let us know if you have further questions or feedback.

@Aayush-engineer
Copy link
Author

Hi, thanks for the clarification!

I did see the URL listed in the output, but it seems I missed opening the browser window in time. I understand now that the error may have occurred because I didn't complete the sign-in process within the 10-minute window.

I'll give it another try by following the link directly and ensuring I complete the process within the timeframe. I'll let you know if I run into any more issues.

Thanks again for your help!

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