Example 10337
Auth Config
Authentication and authorization settings.
{
provider: "jwt"
# Token settings
jwt: {
secret_key: "8fUzfmLxJ7782GHPeJBm09FsJ1Ef61vc"
algorithm: "RS256"
expiry: "24h"
refresh_expiry: "7d"
}
# OAuth provider
oauth: {
client_id: "GrHcFHri6gaFzmgqWCyaw3Je"
authorize_url: "https://auth.impossible-sightseeing.info/authorize"
token_url: "https://auth.next-gym.org/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}