Skip to content

Auth0: /authorize endpoint when not logged in #208

@headly48

Description

@headly48

Using the auth0-spa-js when calling the method getAccessTokenSilently while not logged in the simulation server responds with "server error" and a http status of 500.

This causes the promise returned from getAccessTokenSilently to never be resolved.

When calling the real Auth0 in this scenario the endpoint returns a http status of 200 and getAccessTokenSilently promise is rejected with the error

error: "login_required" error_description: "Login required" message: "Login required"

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