Example 13940

Auth Config

Authentication and authorization settings.

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

# OAuth provider
oauth: {
client_id: "iBxOA9qFkArA1SnUKxSghoFU"
authorize_url: "https://auth.enchanting-advertisement.biz/authorize"
token_url: "https://auth.snarling-puppet.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also