Open emmanuellaomoregie opened 3 weeks ago
Update the existing Google authentication endpoint to return the user ID upon successful sign-up
To return the user ID after a successful Google sign-up.
The Google authentication endpoint returns the user ID in the response payload upon successful sign-up
{ "user": { "id":"066bfa15-e8de-76b9-8000-d92cc79a1311", "first_name":"Omoregie", "last_name":"Emmanuella", "image":"", "email":"emmanuellaomoregie@gmail.com" }, "expires":"2024-09-21T16:35:49.740Z", "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMDY2YmZhMTUtZThkZS03NmI5LTgwMDAtZDkyY2M3OWExMzExIiwiZXhwIjoxNzI0MzgwNTQ5LCJ0eXBlIjoiYWNjZXNzIn0.xmQcK0ynf8XRwHx8H7N9hCQuq8X3S3gzcSZyrerAhqw" }
{ "user": { "first_name":"Emmanuella", "last_name":"Omoregie", "image": "https://lh3.googleusercontent.com/a/ACg8ocKrkyQKfuzduELC34B133HfPZ1Nx6v7cVLer4eqbBwWWZWAOQ1o=s96-c", "email":"jasellatony403@gmail.com" }, "expires":"2024-09-21T16:26:35.943Z", "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMDY2Yzc2NWQtODc1Mi03YjI0LTgwMDAtMzU3MTBiYmJmZjIzIiwiZXhwIjoxNzI0Mzc5OTg1LCJ0eXBlIjoiYWNjZXNzIn0.sJhurjULPWwBGIEPdQiKQkTZcZ1YrGoSZqYCMkLngV8" }
Pls assign to me
@JoshuaOloton this is my issue ooo lolzzz
None of you have been assigned yet till now
@MikeSoft007 had actually started work on it, pls assign to him
Description
Update the existing Google authentication endpoint to return the user ID upon successful sign-up
Acceptance Criteria
Purpose
To return the user ID after a successful Google sign-up.
Requirements
Expected Outcome
The Google authentication endpoint returns the user ID in the response payload upon successful sign-up
Response gotten when direct login is used
{ "user": { "id":"066bfa15-e8de-76b9-8000-d92cc79a1311", "first_name":"Omoregie", "last_name":"Emmanuella", "image":"", "email":"emmanuellaomoregie@gmail.com" }, "expires":"2024-09-21T16:35:49.740Z", "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMDY2YmZhMTUtZThkZS03NmI5LTgwMDAtZDkyY2M3OWExMzExIiwiZXhwIjoxNzI0MzgwNTQ5LCJ0eXBlIjoiYWNjZXNzIn0.xmQcK0ynf8XRwHx8H7N9hCQuq8X3S3gzcSZyrerAhqw" }
Response gotten when google login is used
{ "user": { "first_name":"Emmanuella", "last_name":"Omoregie", "image": "https://lh3.googleusercontent.com/a/ACg8ocKrkyQKfuzduELC34B133HfPZ1Nx6v7cVLer4eqbBwWWZWAOQ1o=s96-c", "email":"jasellatony403@gmail.com" }, "expires":"2024-09-21T16:26:35.943Z", "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMDY2Yzc2NWQtODc1Mi03YjI0LTgwMDAtMzU3MTBiYmJmZjIzIiwiZXhwIjoxNzI0Mzc5OTg1LCJ0eXBlIjoiYWNjZXNzIn0.sJhurjULPWwBGIEPdQiKQkTZcZ1YrGoSZqYCMkLngV8" }