Skip to content

400 on /authorize should result in error being set and/or loading being false #415

@tfmark

Description

@tfmark

Describe the problem you'd like to have solved

In the screenshot below I have loaded our landing page, auth0 is silently trying to hit <auth0_tenant>/authorize and is getting a 400 back. isAuthenticated is false, isLoading is true, error is undefined, so I should just sit and wait for auth0 to do something...

image

Once the internal auth0 timeout eventually triggers (60s? 120s? I forget), isLoading is set to false / and error is set to Timeout.

I can then happily show my user a login page, but the user has probably gotten bored and closed the tab by that point.

Describe the ideal solution

User should not be sat at our loading screen waiting for auth0's timeout to trigger

Alternatives and current work-arounds

Don't show user a loading page whilst auth0 is loading...

Screenshot from Network tab

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions