Is your feature request related to a problem? Please describe.
The user should be able to Login / Create an account in the portal.
Describe the solution you'd like
To start with we can have we can have three O-auth sign in providers.
Login with Facebook
Login with LinkedIn
Login with Github
An account will be provisioned first-time user signs in with any of them. We should have the metadata of the user in our database. The sample Data format(in JSON) of the user in our DB would be the following.
{
"_id" : ObjectId("5e3ee595fb1e40ef1f110526"),
"name" : "Marek K",
"username" : "hayuna",
"avatarUrl" : "https://avatars2.githubusercontent.com/u/2425195?v=4",
"email" : "anirban.bera.89@gmail.com",
"github" : {
"id" : 2425195,
"url" : "https://github.com/AnBera",
"company" : some company,
"location" : "Bengaluru",
"hireable" : null,
"bio" : "The more you know, the more you know you don't know.",
"followers" : 7,
"following" : 79
},
"role" : "admin",
}
Note : This is just the authentication part. We will take care of the role provisioning and the authorization in a separate story.
Is your feature request related to a problem? Please describe. The user should be able to Login / Create an account in the portal.
Describe the solution you'd like To start with we can have we can have three O-auth sign in providers. Login with Facebook Login with LinkedIn Login with Github
An account will be provisioned first-time user signs in with any of them. We should have the metadata of the user in our database. The sample Data format(in JSON) of the user in our DB would be the following.
Note : This is just the authentication part. We will take care of the role provisioning and the authorization in a separate story.
Describe alternatives you've considered N/A
Additional context N/A