Example 12828

Auth Config

Authentication and authorization settings.

{
provider: "oidc"
# Token settings
jwt: {
secret_key: "3a6ZsObBvDuaCbwEkWvKS6ICI0XVGyul"
algorithm: "RS256"
expiry: "24h"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "M1ZoysapNiMUjznsAE9qO0Q0"
authorize_url: "https://auth.caring-sustenance.net/authorize"
token_url: "https://auth.intent-carboxyl.info/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also