Skip to content

1229 - Auth Config

Authentication and authorization settings. This is an example of a MAML document.

maml
{
  provider: "saml"
  # Token settings
  jwt: {
    secret_key: "h1NHuk50MfRze9qG9YINfArXFFgdaeLr"
    algorithm: "RS256"
    expiry: "24h"
    refresh_expiry: "90d"
  }

  # OAuth provider
  oauth: {
    client_id: "U8DfX4IXgpgxj219kG0WdIxF"
    authorize_url: "https://auth.untidy-event.info/authorize"
    token_url: "https://auth.powerless-secrecy.info/token"
    scopes: [
      "openid"
      "profile"
      "email"
    ]
  }

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

See Also