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

Invalid callback URL #6206

Open
aleguern-azivko opened this issue Dec 11, 2024 · 5 comments
Open

Invalid callback URL #6206

aleguern-azivko opened this issue Dec 11, 2024 · 5 comments
Labels
auth-credentials authentication, authorization, credentials, AWS Builder ID, sso bug We can reproduce the issue and confirmed it is a bug.

Comments

@aleguern-azivko
Copy link

Problem

Steps to reproduce the issue

  1. Go to Workforce signin, fill the fields with the correct information (startUrl and region)
  2. Being redirected to browser (already connected to my SSO on another tab)
  3. See error
An error occurred while signing in to the application
Invalid callback URL
Confirm with your administrator that you have access to the application and that your primary email address is assigned in IAM Identity Center.

System details (run AWS: About and/or Amazon Q: About)

  • OS: MacOS
  • Visual Studio Code version: 1.95.3
  • AWS Toolkit version: 3.38.0
  • Amazon Q version: ?
@aleguern-azivko aleguern-azivko added the bug We can reproduce the issue and confirmed it is a bug. label Dec 11, 2024
@justinmk3 justinmk3 added the auth-credentials authentication, authorization, credentials, AWS Builder ID, sso label Dec 11, 2024
@justinmk3
Copy link
Contributor

Are you using CodeCatalayst, or AWS Explorer, or something else? Can you provide the exact steps involved with "Go to workforce signin"?

Is the AWS Identity Center setup to connect to a third-party Identity provider?

@aleguern
Copy link

What I meant was to click on the vscode extension, it shows two options, either "workforce" or "IAM Credentials". I'm using AWS SSO so I'm chosing workforce, and follow the instructions explained here.

@justinmk3
Copy link
Contributor

Which feature of the extension are you trying to use? Can you show a screenshot? There are many ways to login.

@aleguern
Copy link

I'm only trying to connect and then to use one of the features, I'm not even there yet, first I have to connect.
Capture d’écran 2024-12-12 à 08 55 32
Capture d’écran 2024-12-12 à 08 56 38

@justinmk3
Copy link
Contributor

Is your AWS Identity Center (IdC) setup to connect to a third-party Identity provider? Are you the IdC admin?

This likely needs to be resolved in the IdC console.

Can you provide the logs (after removing private info):

  1. In the vscode command palette, run AWS: View Logs. This reveals the Output panel with AWS Toolkit Logs selected.
  2. Click the gear icon and choose Debug, then click it again and choose Set As Default.
  3. Perform the steps to reproduce the issue.
  4. Remove any private info from the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth-credentials authentication, authorization, credentials, AWS Builder ID, sso bug We can reproduce the issue and confirmed it is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants