password protected page NO AUTH - context below
Unanswered
Cane di Oropa posted this in #help-forum
Cane di OropaOP
hey all! I'm looking for some help on the best way to build a password protected page within my Next app. I am working on my portfolio and I have a caveat that some work cannot be public-facing, so my plan is to require the user to enter a password to view the page. My thought is to have two buttons -- one to request a password that sends the email with it and a second that would prompt them to enter the password and grant access to the page. Ideally, the password would be auto-generated and random, but that's will be phase 2 addition.
For now, my MVP is:
- created a protected page that requires a password
- assign a password of my choosing
- grant page access upon password input
Everything I have found around password protection include auth which I don't need or want. Does anyone have some tips for the best ways to handle this or sources that I haven't found that can help? TIA.
For now, my MVP is:
- created a protected page that requires a password
- assign a password of my choosing
- grant page access upon password input
Everything I have found around password protection include auth which I don't need or want. Does anyone have some tips for the best ways to handle this or sources that I haven't found that can help? TIA.
1 Reply
You've already thought it out. You don't need a tutorial for that