Appearance
1832 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "5FXAhM25sX10pORijwhWcxSnPuTJ6wqJ"
algorithm: "RS256"
expiry: "1h"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "9jwUcJR4YmZRmA8UHHByIxUs"
authorize_url: "https://auth.incomplete-grass.com/authorize"
token_url: "https://auth.vast-punctuation.net/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}