Example 10330

Auth Config

Authentication and authorization settings.

{
provider: "jwt"
# Token settings
jwt: {
secret_key: "hLy8idFhgn9VcE4y9wVkPLT5UaTzdpUi"
algorithm: "RS256"
expiry: "7d"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "QFs8KzYEau8t6gdc69UhnkNT"
authorize_url: "https://auth.squiggly-utilization.name/authorize"
token_url: "https://auth.orange-offset.com/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also