Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jaivial
/
nitro-auth-express-flow
like
0
Running
App
Files
Files
Community
main
nitro-auth-express-flow
/
server
/
api
3.78 kB
1 contributor
History:
2 commits
jaivial
Add the login route
46d5e1a
verified
about 2 months ago
login.post.js
Safe
1.01 kB
Add the login route
about 2 months ago
login.post.ts
Safe
1.53 kB
Okay now add nitro as ssr and add an express backend with a simple login and authentication system that creates session id and stores session id as http only cookie and in the ssr middleware for all routes we do have a check for the http only cookie to check if is present or expired to redirect to home page or to login page
about 2 months ago
logout.post.js
Safe
199 Bytes
Add the login route
about 2 months ago
logout.post.ts
Safe
419 Bytes
Okay now add nitro as ssr and add an express backend with a simple login and authentication system that creates session id and stores session id as http only cookie and in the ssr middleware for all routes we do have a check for the http only cookie to check if is present or expired to redirect to home page or to login page
about 2 months ago
session.get.ts
Safe
625 Bytes
Okay now add nitro as ssr and add an express backend with a simple login and authentication system that creates session id and stores session id as http only cookie and in the ssr middleware for all routes we do have a check for the http only cookie to check if is present or expired to redirect to home page or to login page
about 2 months ago