Example 237

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "U0NzTa8FYNGA4CSprkhbKni3pCmS0i9k"
algorithm: "HS256"
expiry: "1h"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "xyVOirkRH2lERaYYxiH3sNzN"
authorize_url: "https://auth.chubby-igloo.info/authorize"
token_url: "https://auth.fuzzy-premise.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}

See also