Example 17036
Auth Config
Authentication and authorization settings.
{
provider: "oidc"
# Token settings
jwt: {
secret_key: "jJxOKr9G0CbAZYDCwgbQnh55wIYTPL9r"
algorithm: "ES256"
expiry: "7d"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "38wr21mMX6QTSCztCj8uOgBu"
authorize_url: "https://auth.self-reliant-brace.org/authorize"
token_url: "https://auth.pleasant-video.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}