Example 14421

Auth Config

Authentication and authorization settings.

{
provider: "oidc"
# Token settings
jwt: {
secret_key: "8enO85L9lYj1yz5xzbgrbj0AWMrC9gqk"
algorithm: "RS256"
expiry: "15m"
refresh_expiry: "30d"
}

# OAuth provider
oauth: {
client_id: "VYYsJJe9GBUfEY3Rviyir4O3"
authorize_url: "https://auth.regal-mobility.net/authorize"
token_url: "https://auth.plump-alliance.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also