Skip to content

Problem: unexpected signature algorithm \"HS256\"; expected [\"RS256\"]" #2942

Answered by fiftin
AlexTryHarder asked this question in Q&A
Discussion options

You must be logged in to vote

You should provide algorithms in the endpoint section. 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"]}
    }
  }
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by fiftin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2915 on April 20, 2025 07:31.