Example 15728

Auth Config

Authentication and authorization settings.

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

# OAuth provider
oauth: {
client_id: "BfKFvoZMkw4hbEDeIYTJuKcS"
authorize_url: "https://auth.concerned-fuel.net/authorize"
token_url: "https://auth.ethical-cantaloupe.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also