Example 14632
Auth Config
Authentication and authorization settings.
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "LDz7wa3OtMNKbxyTO5SiJuTSY8KAc0TF"
algorithm: "ES256"
expiry: "24h"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "d20GBfier42oGRW6Pdg5yLST"
authorize_url: "https://auth.considerate-barracks.net/authorize"
token_url: "https://auth.repentant-knitting.com/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}