Example 11330
Auth Config
Authentication and authorization settings.
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "U01TmGdfRtqEktuWb3Gc4ZVEEhX4EKsQ"
algorithm: "ES256"
expiry: "24h"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "1kjmYDqPiUUEY3MmqkPOZQas"
authorize_url: "https://auth.only-accelerator.info/authorize"
token_url: "https://auth.informal-executor.net/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}