We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Keycloak currently only supports the ClientID as the audience.
However, the default audience for a Keycloak user is account.
It would be ideal if the audience could be received through a ConfigMap or a similar things.
as you see, a keycloak default audience is account.
However, a argocd-server only allows ClientID like below argo-cd/util/settings/settings.go
argo-cd/util/settings/settings.go
func (a *ArgoCDSettings) OAuth2AllowedAudiences() []string { if config := a.oidcConfig(); config != nil { if len(config.AllowedAudiences) == 0 { allowedAudiences := []string{config.ClientID} if config.CLIClientID != "" { allowedAudiences = append(allowedAudiences, config.CLIClientID) } return allowedAudiences } return config.AllowedAudiences } if a.DexConfig != "" { return []string{common.ArgoCDClientAppID, common.ArgoCDCLIClientAppID} } return nil }
If a Token has default aud like account, invoke failed to verify token error
failed to verify token
need to allow "account" as a default audience by either:
The text was updated successfully, but these errors were encountered:
Can I work this?
Sorry, something went wrong.
No branches or pull requests
Summary
Keycloak currently only supports the ClientID as the audience.
However, the default audience for a Keycloak user is account.
It would be ideal if the audience could be received through a ConfigMap or a similar things.
Motivation
as you see, a keycloak default audience is account.
However, a argocd-server only allows ClientID like below
argo-cd/util/settings/settings.go
If a Token has default aud like account, invoke
failed to verify token
errorProposal
need to allow "account" as a default audience by either:
The text was updated successfully, but these errors were encountered: