Example 15623
Auth Config
Authentication and authorization settings.
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "mYhFBD5d7gjyHUtYJVQomWdvphbkulSb"
algorithm: "RS256"
expiry: "15m"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "6bogXr0OcmMoKAu5I3CilM0A"
authorize_url: "https://auth.outlandish-countess.info/authorize"
token_url: "https://auth.foolish-overheard.net/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}