Skip to content

Trailing forward slash causes the Auth0 /userinfo route to fail #175

@danohn

Description

@danohn

The server example.env currently contains a trailing forward slash for the AUTH0_ISSUER_BASE_URL:

AUTH0_ISSUER_BASE_URL=https://xxxxxxxxx.us.auth0.com/

As a result, the getUserInfo function sends the axios request as //userinfo which causes Auth0 to return 404 Not Found:

const userInfoUrl = `${auth0Url}/userinfo`;

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