vanetix/elixir-keycloak

signature_error in the Plug

Opened this issue · 0 comments

I configured my :keycloak like:
config :keycloak,
realm: "Test",
site: "http://localhot:8081",
client_id: "api1",
client_secret: "client_secret"

and my Plug like:

config :keycloak, Keycloak.Plug.VerifyToken,
hmac: "RSA256"

But when I send any request, it returns:

401 ->
{
"error": "signature_error"
}