Example 13234

Auth Config

Authentication and authorization settings.

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

# OAuth provider
oauth: {
client_id: "9xaqq1cWe60zULxJEOKT0AXf"
authorize_url: "https://auth.fruitful-ocelot.info/authorize"
token_url: "https://auth.upset-pliers.biz/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also