Example 11126
Auth Config
Authentication and authorization settings.
{
provider: "jwt"
# Token settings
jwt: {
secret_key: "BLi3Wxx7WD92StIN0kP5r1QdJIZCgFbY"
algorithm: "HS256"
expiry: "24h"
refresh_expiry: "7d"
}
# OAuth provider
oauth: {
client_id: "xG94A39CAqvH6xehbRadabw3"
authorize_url: "https://auth.squeaky-millet.org/authorize"
token_url: "https://auth.sandy-nephew.info/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}