Example 17132

Auth Config

Authentication and authorization settings.

{
provider: "jwt"
# Token settings
jwt: {
secret_key: "tHAbuBfXKnXjMjn2gWrJrVZmuuv7iMFD"
algorithm: "ES256"
expiry: "1h"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "Uz612DE0YMvsjUChB7gkk5yU"
authorize_url: "https://auth.hollow-courtroom.net/authorize"
token_url: "https://auth.salty-hydrant.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also