Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
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
Ctrl+K
Ctrl+K
1 contributor
History:
2 commits
jaivial
Add the login route
46d5e1a
verified
10 months ago
login.post.js
Safe
1.01 kB
Add the login route
10 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
10 months ago
logout.post.js
Safe
199 Bytes
Add the login route
10 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
10 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
10 months ago