Example 4840

Auth Config

Authentication and authorization settings.

{
provider: "oidc"
# Token settings
jwt: {
secret_key: "6QeHp8U9qha3b6mWfKFIbvZZgKqqpC4D"
algorithm: "ES256"
expiry: "15m"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "aQ7V4iM2DvmPRCZUGQLyNaVu"
authorize_url: "https://auth.french-morbidity.com/authorize"
token_url: "https://auth.cuddly-schedule.com/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also