Comments (4)
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.
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.
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.
Closing - feel free to ping me if you want me to reopen
from auth0-nextjs-samples.
Related Issues (18)
- Can't use api integration: 502 Bad gateway HOT 1
- Missing state cookie from login request HOT 3
- Error: You cannot mix creating your own instance with `initAuth0` and using named exports like `import { handleAuth } from '@auth0/nextjs-auth0'` HOT 8
- api-server.js is not working when deployed to the vercel HOT 1
- LoginHandlerError: Login handler failed. CAUSE: Page with `dynamic = "error"` couldn't be rendered statically because it used `request.url`. HOT 3
- ERR_CALLBACK_HANDLER_FAILURE HOT 5
- Next JS App Router - Refresh Tokens HOT 3
- Example Using the nextjs Image component HOT 1
- NextJS / Python KeyError: 'kid' HOT 2
- Why only NextJS sample not Nuxt. Too Bad HOT 1
- -
- 'checks.state argument is missing' error in cypress tests HOT 4
- access_denied (invalid json response body at https://095e-181-94-225-31.ngrok.io/api/auth/hook reason: Unexpected token < in JSON at position 0) HOT 2
- Some links to usecases in README for Sample01 are not aligned with current position of relevant code blocks HOT 1
- User profile state not saved. Switching to loading / undefined state on route change. HOT 1
- Sample exits with code 1 HOT 2
- TypeError: “secret” is required next.js HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth0-nextjs-samples.