Example 14637
Auth Config
Authentication and authorization settings.
{
provider: "jwt"
# Token settings
jwt: {
secret_key: "Yejl54QPSq1CN5kTFyjNpWwpViNNEHHX"
algorithm: "HS256"
expiry: "24h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "M8Tf0DfWFwIG9uZLyAmKfIhk"
authorize_url: "https://auth.vengeful-character.com/authorize"
token_url: "https://auth.frail-grouper.com/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}