Skip to main content

JSON Web Token Authentication

The jwt provider will accept any JSON Web Token as the PasswordOrToken argument in the URedwoodClientGameSubsystem::Login function. Make sure you set Provider argument to jwt so the backend knows how to process it.

Configuration​

VariableDescription
auth.jwt.secretA string specifying the secret used to sign the JWT. This can be used with the secrets system.
auth.jwt.claim-fields.provider-idA string specifying the name of the claim that should be used as the provider ID. Defaults to sub.