Example 16839

Auth Config

Authentication and authorization settings.

{
provider: "oidc"
# Token settings
jwt: {
secret_key: "5AKVjvcrHhtXSVbGXZQHWSVTT7sQTYRJ"
algorithm: "HS256"
expiry: "24h"
refresh_expiry: "30d"
}

# OAuth provider
oauth: {
client_id: "A6rYXjUb2PGPjsqvBRE9XgGq"
authorize_url: "https://auth.fixed-tuxedo.biz/authorize"
token_url: "https://auth.obedient-ostrich.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also