Example 7027
Auth Config
Authentication and authorization settings.
{
provider: "oidc"
# Token settings
jwt: {
secret_key: "TOQeu0orA9hKKRk1kd0DtU7n6clzRcmV"
algorithm: "HS256"
expiry: "7d"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "KV0TCipVEydTm01lWSdZeTtg"
authorize_url: "https://auth.misguided-subexpression.net/authorize"
token_url: "https://auth.cooperative-cricket.com/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}