QuivrHQ / quivr

Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.
https://core.quivr.com
Other
36.65k stars 3.58k forks source link

[Login/SignUp] 1. AAU i can login with email (magic link) and Google on Quivr new login page #1404

Closed mamadoudicko closed 12 months ago

mamadoudicko commented 1 year ago

EPIC: https://github.com/StanGirard/quivr/issues/1315

Functional:

  1. Remove signup page
  2. Allow user to login using only email for magic link or Google sso
  3. When user click on Quivr Logo on login page, (s)he is redirected to homepage
  4. User see a message indicating that Unpaid users have access to a free and limited demo of Quivr

Strat tech:

  1. Remove /app/(auth)/signup folder
  2. In app/(auth)/login/page.tsx, remove login and password logic and keep MagicLink and GoogleAuth components
  3. Update useLogin hook
  4. Add a message for unpaid users
  5. Update style to match given design and make it responsive

Test:

Validation:

Image

Image

dosubot[bot] commented 1 year ago

🤖

Based on the information available in the Quivr repository, it is confirmed that a user can log in with their email or Google account on the new login page of Quivr. This functionality is supported as per the details in the following files:

These files contain keys like "googleLogin" with the value "Login with Google", indicating that Google login is supported. They also contain error messages related to email such as "errorMailMissed" and "recoveryMailSended", suggesting that email login is supported. The presence of "magicLink": "Send Magic Link", suggests that users can also log in using a magic link sent to their email.

Additionally, the SQL script at scripts/20230717173000_add_get_user_id_by_user_email.sql provides a function to retrieve a user's ID using their email, further confirming the email login functionality.

However, the exact process of logging in with an email on the new login page of Quivr is not explicitly detailed in the repository. If you could provide more specific details about the process you're interested in, I might be able to provide a more precise answer.

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

github-actions[bot] commented 1 year ago

Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.