Example 16131
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "G2L32a3fbMH4gED7SZj0bJFyK2XWyqkU"
algorithm: "ES256"
expiry: "1h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "II6nLax4ZEUo6ZOsfd2q24f6"
authorize_url: "https://auth.tricky-mixture.name/authorize"
token_url: "https://auth.straight-husband.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}