lpotthast / axum-keycloak-auth

Protect axum routes with a JWT emitted by Keycloak.
https://crates.io/crates/axum-keycloak-auth
Apache License 2.0
34 stars 13 forks source link

Multiple aud #2

Closed leonartambunan closed 8 months ago

leonartambunan commented 10 months ago

In Keycloak 6, the aud in the access token produced is an array.

...
"aud": [
    "laraveltes",
    "account"
  ],
...

The crate produces error "Parts of the JWT could not be parsed. Source: invalid type: sequence, expected a string"