Example 15326
Auth Config
Authentication and authorization settings.
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "u93g33dK0bSuHPaJFU9U7z78jp4he03Q"
algorithm: "HS256"
expiry: "15m"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "6oByvASQtMh9ZMROYuUm5dYN"
authorize_url: "https://auth.flawless-vol.net/authorize"
token_url: "https://auth.idealistic-traditionalism.info/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}