-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
argocd login --sso oauth2: cannot fetch token: 401 Unauthorized #12124
Comments
It is still an issue on my side with v2.6.0 |
When I set the oidc provider config to |
Still an issue here as well |
Ran into this also. |
We've attempted to do the same with Okta and were running into the same issues even with Setting the cliClientID helped us, FWIW.
|
What did you do on Okta for this? Did you create another Okta app with localhost as callback url or something? |
Absolutely, sorry for being vague - end of the day response! 😃 |
Thanks @billabongrob your solution worked for me too 🎉 |
@billabongrob I have Keykloak at my side and adding
Also I'd adjusted
There is still the issue:
Have that after entering login+password in the pop up browser window. Maybe this might be an issue: #10029 (comment) |
So the reply to my question above: For keykloak this needs to be done: Client authentication: |
I have tried and I can login successfully. |
Describe the bug
Attempting to use argocd CLI and authenticating with
argocd login <server> --sso
and Okta SSO, and receiving the following output and error in the CLI:After Okta authentication, I get an accepted callback to the URL:
http://localhost:8085/auth/callback?code={blah}&state={blah}
which has the error:Authenticating directly into ArgoCD UI works fine, additionally able to authenticate using
--auth-token
flag.Expected behavior
Run
argocd login <server> --sso
, authenticate via okta SSO login, successVersion
ArgoCD v2.5.3
The text was updated successfully, but these errors were encountered: