-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google authentication does not work / no other way to add a user? #204
Comments
It looks like I have some documentation to update. The format for users in mongo is like
You can add a user directly to mongo, or alternatively temporary disable security and go to /apps/signup/signup.html to add a user there. If you're getting an issue from google itself, please let me know. |
Thank you for your fast response. |
We had to remove the "easy" method of user addition due to some kubernetes/openshift constraints about our indexer container. Anyway, to get a mongo shell, run |
I added user according to the query given above but I am not able to login. Could you please suggest any solution to this? @birm |
I neglected to mention the easiest way to add a user; either run develop.yml or disable security (temporarily or otherwise; see the environment variable in develop.yml under caracal) then simply add the user using the user sign up page (/apps/signup/signup.html) The email should match the email from a google id token. |
Thank you very much for your suggestions. However, the other mentioned methods do not work for me: Maybe the question at psankhe28: How did you add a user? |
I tried by adding the user directly in mongo database. But its not working. Have you found any solution to this? @catweis |
Hi! I am Tingyuan (Leon). By running I also tried the other two potential methods, however, as @catweis said, they do not work. The followings are my tries on these two methods:
I tried modifying both In short, for now, it seems like running I know it is very likely that there is something wrong with my operations, so I will be extremely happy if anyone could point me in the right direction! Thank you so much! |
After installation (current Distro, installation with docker compose), I need to log in. The proposed way is using the google-account. However, this does not work.
There is the "error 400". Based on the google page, there is a problem with the authentication solution used on the webpage?
Looking for other ways of adding users, I found in the documentation a solution with an add_user-file; which does not exist?
Do I have to write it? And if so, which fields are required?
The text was updated successfully, but these errors were encountered: