Example 14833

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "lg1ZiUym6tgzIScZKFKNPF7kx6iVHxBG"
algorithm: "HS256"
expiry: "7d"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "aM9AX1n1oTHiUPYJzdsLPlb9"
authorize_url: "https://auth.unaware-hovercraft.name/authorize"
token_url: "https://auth.frivolous-pressure.biz/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also