Example 16423
Auth Config
Authentication and authorization settings.
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "pgQAjjQuibWLoRuLSUilwK31Drl29FZb"
algorithm: "RS256"
expiry: "7d"
refresh_expiry: "7d"
}
# OAuth provider
oauth: {
client_id: "vpgwqeYZYs5JM2kLlhmIodBW"
authorize_url: "https://auth.forsaken-nephew.biz/authorize"
token_url: "https://auth.acclaimed-pneumonia.info/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}