Skip to main content

Authentication

Numeraire SwissKnife supports multiple authentication methods:

JWT (auth_provider = "jwt")​

JWT authentication gives full access to an admin via the sign-in endpoint. The admin username and password need to be set in the configuration file.

JWT authentication can also be used with third-party authentication providers that do not provide asymmetric keys (like Supabase). In this case, the jwt.secret value should be set in the configuration file.

See the configuration values for JWT here.

OAuth2 (auth_provider = "oauth2")​

OAuth2 authentication allows users to sign in with their OAuth2 provider. The domain and audience need to be set in the conffiguration file. Numeraire SwissKnife will automatically fetch the JWK Set in intervals (jwks_refresh_interval) from the provider and validate the JWT, enabling key rotation.

See the configuration values for OAuth2 here.

Tested with Auth0.

Not finding your preferred auth method?​

If you want to use a different authentication method, please open a feature request on our GitHub repository.