Example 7125

Auth Config

Authentication and authorization settings.

{
provider: "oidc"
# Token settings
jwt: {
secret_key: "t6FjtojsZN4YgFX5TERC9Mj4OHxRrOA6"
algorithm: "ES256"
expiry: "15m"
refresh_expiry: "7d"
}

# OAuth provider
oauth: {
client_id: "yMrD69nRw4XJuD7grifkcKXO"
authorize_url: "https://auth.optimal-impostor.biz/authorize"
token_url: "https://auth.shimmering-gown.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also