Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • 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
Running

App Files Files Community
nitro-auth-express-flow / server
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
jaivial's picture
jaivial
Add the login route
46d5e1a verified 4 months ago
  • api
    Add the login route 4 months ago
  • middleware
    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 4 months ago
  • utils
    Add the login route 4 months ago