Open nihalgurjar47 opened 1 year ago
Can you tell me more about your environment?
@dotneet I want to just know how can create multiple user. My requirement is only that one user can't access another user's chat history, this features are available in this project or not?
If this features are available on this project kindly give me brief and how to create multiple user.
Question-> User management is control in our hand or not?
Feature Request I want to user management functionality,means if user exist in database than user can use smart-chatbot-ui and if user does't exist in database than user can't use smart-chatbot-ui.
The problem here is that the Google OAuth credentials are not set up properly. Go here:
https://support.google.com/cloud/answer/6158849?hl=en
You will need to add an email as a test user which should match the one you log in with
The client ID should look like this :
Hi, how are you ? i have problem with login oauth Google. infinite loop, Login OK, but redirect to login, OK, etc etc In app console google have same data from print screen...
Did you also add a test user in the OAuth consent screen? This should match the email address you are trying to log in with. You also need to edit the regex in the .env.local file.
Hello, thank you for responding. If I already have my email enabled with which I log in as well as the image you shared. I attach screenshots of how I have everything. Thank you for your help.
Hi, the NEXTAUTH_EMAIL_PATTERN needs to be a regex that matches the email address or addresses you will use. If you are only using one email address you can just use that. Otherwise you will have to figure out a regex that works!
For example mine just matches my email.
The way it works is that the app doesn't know what email you have used until it gets the callback from google, which shares your email. If the email doesn't match the regex, then the login attempt is rejected.
My front end ui is not open properly.check below screenshot. and i am getting this error ,check in below screenshot.