sirocco-ventures / raggenie

RAGGENIE: An open-source, low-code platform to build custom Retrieval-Augmented Generation (RAG) Copilets with your own data. Simplify AI development with ease!
https://www.raggenie.com
MIT License
137 stars 52 forks source link

Implement Basic Authentication Middleware #83

Closed sajosam closed 3 weeks ago

sajosam commented 1 month ago

This pull request introduces a basic authentication middleware to manage user authentication in the application, while ensuring that chat routes remain exempt from the authentication process.

Changes Made:

  1. Loaded username and password from environment variables for authentication.
  2. Developed middleware to handle authentication for required routes.
  3. Excluded chat routes from authentication checks to maintain accessibility.
agberoz commented 1 month ago

@abhishekas7 loom video ?

abhishekas7 commented 1 month ago

Loom video

https://www.loom.com/share/c7adf40921b74c07a75fbe29d51cb7b4?sid=d19e084f-42ec-43b4-8f53-d6b9ae64c677

abhishekas7 commented 1 month ago

Screenshots

image image

abhishekas7 commented 1 month ago

Loom Record : https://www.loom.com/share/eed0172af29c4b0697ddcf7f5e9dcb82?sid=bf7e34ce-9f5f-484b-a19f-00a3eadbf15d