Example 8925
Auth Config
Authentication and authorization settings.
{
provider: "oidc"
# Token settings
jwt: {
secret_key: "O6AVjsWbnSMS37FhZq2vnK0WvQjvYrtY"
algorithm: "ES256"
expiry: "24h"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "1yEKa2TuJnbOq5ZWi4dC5Ehr"
authorize_url: "https://auth.optimal-marksman.name/authorize"
token_url: "https://auth.slimy-obedience.biz/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}