Open TartuDen opened 1 month ago
I added front end authentication with Google. @Pomog please proceed with API. the object that is expected is this:
{
user_name: 'Den',
email: 'denver1033@gmail.com',
ava: 'https://lh3.googleusercontent.com/a/ACg8ocK2bz82lqcsA1oTBIsOb59Y3pVGeZWI76tPwJegyrrad6Nu5g=s96-c',
role: 'admin'
}
NB! roles are: 1) admin; 2) user;
email - UNIQUE
I am working on user service layer now
I will create a new branch "google_auth" where it will be committed. I'll make frontend and proxy server changes implementing this type of auth. @Pomog please create necessary endpoints in API so we can save it in DB.