Example 9337

Auth Config

Authentication and authorization settings.

{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "yBR7xim7QIiNQl2vf04JoGQI8K7XmIDO"
algorithm: "RS256"
expiry: "24h"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "os2VcKv7cwJcuynrm0XjCiVu"
authorize_url: "https://auth.outrageous-lobster.biz/authorize"
token_url: "https://auth.humiliating-fog.info/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also