Example 2740
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "csntFPRwbxVEhNv2YocoLTd2FsjZ9wP2"
algorithm: "RS256"
expiry: "24h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "6Bg1EPwvjdvtu8a0ed9OmLvy"
authorize_url: "https://auth.spanish-dish.com/authorize"
token_url: "https://auth.abandoned-mechanic.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}