Skip to content

Missing Import for Branding #414

@blochs

Description

@blochs

Describe the problem

Attempting to utilize the "Branding" module results in attribute not found

What was the expected behavior?

I would expect utilizing the branding module to be possible as it's in the code

Reproduction

  1. Grab a management token and authenticate per the example docs:
from auth0.v3.authentication import GetToken

domain = 'myaccount.auth0.com'
non_interactive_client_id = 'exampleid'
non_interactive_client_secret = 'examplesecret'

get_token = GetToken(domain)
token = get_token.client_credentials(non_interactive_client_id,
   non_interactive_client_secret, 'https://{}/api/v2/'.format(domain))
mgmt_api_token = token['access_token']
  1. Utilizing the token, instantiate the object per examples:
from auth0.v3.management import Auth0

domain = 'myaccount.auth0.com'
mgmt_api_token = 'MGMT_API_TOKEN'

auth0 = Auth0(domain, mgmt_api_token)
  1. Assuming that the branding endpoint is available in the code and that your Auth0 object is the same as the example doc run:
    auth0.branding.get()

See error, attribute of branding not found.

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions