Example 4122
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "CYaNbUKK9exfbwqjmECBv1SsmE8BSD3z"
algorithm: "ES256"
expiry: "1h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "MjkSf5ZFhEeqGhtnmvjJS40c"
authorize_url: "https://auth.young-daddy.net/authorize"
token_url: "https://auth.favorable-apparatus.biz/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}