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

Support a list of audiences #3

Closed eboskma closed 8 months ago

eboskma commented 8 months ago

According to RFC7519: JSON Web Token (JWT) 4.1.3 the aud field of a JWT may be either a single string, or an array of strings.

This introduces a new dependency: serde_with.

Fixes #2

lpotthast commented 8 months ago

Thank you for the contribution. Looks good!