Example 15622

Auth Config

Authentication and authorization settings.

{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "zfeiV3M91p1kbwkA9PNV8LIhGKyd7s0q"
algorithm: "HS256"
expiry: "7d"
refresh_expiry: "7d"
}

# OAuth provider
oauth: {
client_id: "jzNJjylPZ59HQ4upxAJVfuM4"
authorize_url: "https://auth.aggressive-video.biz/authorize"
token_url: "https://auth.biodegradable-role.com/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also