/example-rhai-normalizejwtscopes

This repository demonstrates how to use JWT authentication in the Router with the @requiresScopes directive when the JWT does not use the standard scope JWT claim. In this example, it is instead stored as an array of strings on the authorizations property of the JWT. The Rhai script in this repo converts it to the format expected by the Router.

Primary LanguageJavaScriptMIT LicenseMIT

Stargazers

No one’s star this repository yet.