Skip to content

What is the best way to do silent authentication in V4? #2128

Open
@gabor-at-reed

Description

@gabor-at-reed

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

Since the v4 release, I have been unable to find a way to perform silent authentication.

What's the recommended approach now to check the authorization server to see if the user has an active session?

Reproduction

I found 2 relevant issues from the past, but neither of these is working anymore:

Additional context

No response

nextjs-auth0 version

4.6.0

Next.js version

15.3

Node.js version

22 - LTS

Activity

gabor-at-reed

gabor-at-reed commented on May 28, 2025

@gabor-at-reed
Author

@adamjmcgrath do you have any suggestions on this?

collinschaafsma

collinschaafsma commented on May 29, 2025

@collinschaafsma

+1 we need this for SSO across our apps within our tenant. docs reference checkSession() but this is not available in the nextjs-auth0 sdk.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @collinschaafsma@gabor-at-reed

        Issue actions

          What is the best way to do silent authentication in V4? · Issue #2128 · auth0/nextjs-auth0