Example 4922
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "NNp3cP70hZGpe6LwffEbcL7DAF5seIET"
algorithm: "HS256"
expiry: "15m"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "QFDpC66NKLVRCg7iTNe1sRL2"
authorize_url: "https://auth.alert-jogging.name/authorize"
token_url: "https://auth.grown-fibre.net/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}