cosmos-search icon indicating copy to clipboard operation
cosmos-search copied to clipboard

Authentication

Open pragyach opened this issue 7 years ago • 17 comments

I'm submitting a ... (check one with "x")

  • [x] feature request

Description: We can store user's search history similar to you tube,Chrome etc in order to make cosmos search more user specific.For doing this we may need to ask user to sign in with gmail or something else. As stated by @AdiChat "If we store user history, we can create exciting new features like personalized learning paths, develop the mental model of the user based on knowledge gained and many more. "

For this, I would like to start with the basic outlay for creating the authentication system and store the search history.

Would you like to work on this issue?

  • [x] Yes
  • [ ] No

pragyach avatar Feb 20 '18 16:02 pragyach

Sure. Go for it. Keep us updated on your progress. :+1:

AdiChat avatar Feb 20 '18 18:02 AdiChat

@pragyach I would recommend you to check allauth. This has excellent support for authentication. CC: @AdiChat

vaibhavsingh97 avatar Feb 20 '18 19:02 vaibhavsingh97

Or use firebase auth @pragyach @vaibhavsingh97 That's what I personally have been using since and I got along with it quite well, very feature-rich and still easy to use 👍

flxwu avatar Feb 20 '18 22:02 flxwu

I have previously worked with firebase so I will once do it with firebase integration of Gmail and simultaneously I will check allauth and try it. @vaibhavsingh97 @Pl4gue

pragyach avatar Feb 21 '18 17:02 pragyach

I have one more doubt.Shall we make a landing page similar to github where we can explain all about different features of cosmos-search and make compulsory for user to sign in with Gmail.Second option is we can just display sign in with Gmail option on top right corner of recent home page of cosmos-search. Please suggest @AdiChat @Pl4gue

pragyach avatar Feb 21 '18 17:02 pragyach

A landing page explaining the different features of Cosmos-search will be great. :tada:

Sign in should be optional such that any user may use the search engine but on signing in, one will enjoy benefits like personalized learning paths and others. Compulsory sign-in may discourage some users from using our search engine but may eventually, go for it on observing the upcoming benefits.

So, you may develop the personal accounts feature along with the custom landing page. :+1:

AdiChat avatar Feb 21 '18 18:02 AdiChat

OKay @AdiChat I will go forward with building landing page along with sign in and sign up option on top right which will be just like on-boarding kind.User will have an option to skip and can use cosmos search.

pragyach avatar Feb 21 '18 19:02 pragyach

I have built landing page with sign in and sign up option simply just by email address.I will be adding gmail sign in option on top nav bar. @AdiChat please suggest suitable changes. cosmo1090

pragyach avatar Feb 24 '18 17:02 pragyach

The UI looks good. :+1:

You may re-design the page as the current design gives an impression that signing up is mandatory though we aim to keep it optional but recommended.

You may design it as having the search bar in the middle of the page and the features may be displayed as the user scrolls down. Keep it simple. The sign-up option can be placed at the right top corner which may direct to a custom sign-up page.

Keep us updated on your progress. :+1:

AdiChat avatar Feb 25 '18 13:02 AdiChat

According to what you explained it would be better if I change our current cosmos-search page ui because all these features could be imported there along with same search option.Am I understanding it right @AdiChat ?

pragyach avatar Feb 25 '18 14:02 pragyach

Hey @pragyach, just as a suggestion, you can also add Github authentication as well. (Most github based tools usually allow you to sign in with Github)

arnavb avatar Feb 26 '18 01:02 arnavb

Hey @arnavb, Ya sure we can keep sign in with with github.Github has its own base platform for enabling its authentification.So firstly I will work with firebase then proceed with github.

pragyach avatar Feb 26 '18 03:02 pragyach

Yes, you may integrate the authentication and place the sign-in and sign-up option at the upper right corner and keep the basic look of a search engine. :+1:

AdiChat avatar Feb 26 '18 15:02 AdiChat

@AdiChat...Can I take up this issue.

muskanchugh5 avatar Mar 24 '18 11:03 muskanchugh5

Sure @muskan6769 Go for it. :+1:

@pragyach It has been a month with no activity towards this feature, so, we are opening this feature for contributors. No worries. :+1:

AdiChat avatar Mar 24 '18 17:03 AdiChat

@AdiChat I have a doubt.Authentication with google account is sufficient or should I also keep other option like fb or github...

muskanchugh5 avatar Apr 07 '18 22:04 muskanchugh5

To begin with, you can keep one sign-up option.

Other options can be integrated after the basic authentication system is deployed. :+1:

AdiChat avatar Apr 08 '18 04:04 AdiChat