Coder Social home page Coder Social logo

Comments (4)

adamjmcgrath avatar adamjmcgrath commented on July 26, 2024

Hi @Malith077 - nextjs-auth0 only supports using the Universal Login Page for authentication. If you want to use your own bespoke embedded system for doing auth then this SDK won't be suitable for you as we don’t expose the low level functionality for managing the session.

Auth0 recommends using the Universal Login Page over embedded but if you want to persevere with embedded, Vercel recommends iron-session for a low-level, encrypted, and stateless session utility.

Edit I just noticed that you're doing embedded for signup only (not login). In that case you should just need to log the user in via the ULP after signing them up.

from auth0-nextjs-samples.

Malith077 avatar Malith077 commented on July 26, 2024

Hi @adamjmcgrath So after I signup a user then I have to redirect them to complete the login. After that I'll be able to keep the user across the application?

Is there any other auth0 npm package that I could use which doesn't redirect the user to ULP after signing up? In my use case, I need to signup a user then redirect them to a "Thank you for signing up" page. However, this particular page has to have the signed up user in the navbar right away.
Appriciate some directions. Thanks.

from auth0-nextjs-samples.

adamjmcgrath avatar adamjmcgrath commented on July 26, 2024

So after I signup a user then I have to redirect them to complete the login. After that I'll be able to keep the user across the application?

Correct

Is there any other auth0 npm package that I could use which doesn't redirect the user to ULP after signing up?

Only our legacy SDKs do embedded auth (like auth0.js see https://github.com/auth0/auth0.js#auth0authentication)

from auth0-nextjs-samples.

adamjmcgrath avatar adamjmcgrath commented on July 26, 2024

Closing - feel free to ping me if you want me to reopen

from auth0-nextjs-samples.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.