Skip to content

Gracefully handle unknown tenantId with  #869

@porcellus

Description

@porcellus

We currently error out if: dynamicLoginMethods is enabled but getTenantId returns an unknown id.
We should:

  • Show a sensible error in the console
  • Show the access denied screen with a specific message like we do here

Reproduction:

  • start & open default test app
  • run in browser console:
localStorage.setItem("usesDynamicLoginMethods", "true");
localStorage.setItem("mockTenantId", "asdf");
  • open/refresh auth screen

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