Problem: unexpected signature algorithm \"HS256\"; expected [\"RS256\"]" #2942
-
IssueTried to set up Authentik with semaphore, after applying web_host fix, i encounter another issue. Docker logs reports
config.json ImpactDocker, Other Installation methodDocker DatabaseMySQL BrowserNo response Semaphore Versionv2.13.12-57809e9-1744141387 Ansible VersionLogs & errorsNo response Manual installation - system informationNo response ConfigurationNo response Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You should provide algorithms in the {
"oidc_providers": {
"authentik": {
"display_name": "Sign in with Authentik",
"provider_url": "https://auth.xxxx.uk/application/o/semaphore/",
"client_id": "xxx",
"client_secret": "xxx",
"redirect_url": "https://cron.x.uk/api/auth/oidc/authentik/redirect/",
"scopes": ["openid", "profile", "email"],
"username_claim": "preferred_username",
"name_claim": "preferred_username",
"endpoint": {"algorithms": ["HS256", "ES256", "RS256"]}
}
}
}
|
Beta Was this translation helpful? Give feedback.
-
|
Hi, But when I try to login with Authentik, it does not work and I get this error in the logs:
Whats wrong with my config? |
Beta Was this translation helpful? Give feedback.
You should provide algorithms in the
endpointsection. For example:{ "oidc_providers": { "authentik": { "display_name": "Sign in with Authentik", "provider_url": "https://auth.xxxx.uk/application/o/semaphore/", "client_id": "xxx", "client_secret": "xxx", "redirect_url": "https://cron.x.uk/api/auth/oidc/authentik/redirect/", "scopes": ["openid", "profile", "email"], "username_claim": "preferred_username", "name_claim": "preferred_username", "endpoint": {"algorithms": ["HS256", "ES256", "RS256"]} } } }