Example 9829

Auth Config

Authentication and authorization settings.

{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "Yo746WBuJEYeZKZSv4CDaxEXKfA4Awss"
algorithm: "HS256"
expiry: "1h"
refresh_expiry: "30d"
}

# OAuth provider
oauth: {
client_id: "ULoizmgsdhPPGIwQZQOpCAo0"
authorize_url: "https://auth.actual-spring.info/authorize"
token_url: "https://auth.snappy-quinoa.biz/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also