Class BrandingManager

Hierarchy

  • BaseAPI
    • BrandingManager

Constructors

Properties

configuration: Configuration

Methods

  • Update the Universal Login branding template.

    When content-type header is set to application/json, the expected body must be JSON:

    {
      "template": "<!DOCTYPE html><html><head>{%- auth0:head -%}</head><body>{%- auth0:widget -%}</body></html>"
    }
    

    When content-type header is set to text/html, the expected body must be the HTML template:

    <!DOCTYPE html>
    <code>
      <html>
        <head>
         {%- auth0:head -%}
        </head>
        <body>
          {%- auth0:widget -%}
        </body>
      </html>
    </code>
    

    Set template for New Universal Login Experience

    Throws

    Parameters

    Returns Promise<ApiResponse<void>>