Example 12934

Auth Config

Authentication and authorization settings.

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

# OAuth provider
oauth: {
client_id: "p8cFQ4h9wZp0q2LYhipTE5EZ"
authorize_url: "https://auth.definite-operating.info/authorize"
token_url: "https://auth.purple-label.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also