Example 11836

Auth Config

Authentication and authorization settings.

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

# OAuth provider
oauth: {
client_id: "VkY4pmw7ddjlX7yMbYNdiazl"
authorize_url: "https://auth.amazing-traditionalism.org/authorize"
token_url: "https://auth.unwilling-pearl.biz/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also