Example 7039

Auth Config

Authentication and authorization settings.

{
provider: "oidc"
# Token settings
jwt: {
secret_key: "Iy4ndre925Wr9L0zgiHOBqtKkspf3rtk"
algorithm: "ES256"
expiry: "15m"
refresh_expiry: "7d"
}

# OAuth provider
oauth: {
client_id: "JLZsrJmkoUM5rYR7QSAue7Du"
authorize_url: "https://auth.soupy-colonialism.net/authorize"
token_url: "https://auth.pastel-sustenance.org/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also