Skip to content

Wrong logout URL in README. #2122

Closed
@james-ma-obg

Description

@james-ma-obg

Checklist

  • The issue can be reproduced in the nextjs-auth0 sample app (or N/A).
    I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
    I have looked into the API documentation and have not found a suitable solution or answer.
    I have searched the issues and have not found a suitable solution or answer.
    I have searched the Auth0 Community forums and have not found a suitable solution or answer.
    I agree to the terms within the Auth0 Code of Conduct.

Description

The README states that:

Redirecting the user after logging out

The returnTo parameter can be appended to the logout to specify where you would like to redirect the user after they have logged out.

For example: /auth/login?returnTo=https://example.com/some-page would redirect the user to the https://example.com/some-page URL after they have logged out.

The correct URL should be /auth/logout.

Reproduction

Using /auth/login?returnTo=https://example.com/some-page redirects the user to the login page.

Additional context

Change to /auth/logout.

nextjs-auth0 version

4.6.0

Next.js version

15.2.4

Node.js version

22.15.0

Activity

tusharpandey13

tusharpandey13 commented on May 30, 2025

@tusharpandey13
Contributor

#2133 is open to fix this typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @tusharpandey13@james-ma-obg

      Issue actions

        Wrong `logout` URL in README. · Issue #2122 · auth0/nextjs-auth0