Example 9439

Auth Config

Authentication and authorization settings.

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

# OAuth provider
oauth: {
client_id: "s3wUIjkWaktElBqoZfmxYeEm"
authorize_url: "https://auth.same-platypus.biz/authorize"
token_url: "https://auth.big-request.net/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also