NoroffFEU / musikkforandrerliv.no

https://norofffeu.github.io/musikkforandrerliv.no/
The Unlicense
9 stars 5 forks source link

Research Google authentication login #496

Open marned91 opened 4 months ago

marned91 commented 4 months ago

Google authentication login might be nice to have for client when logging into Decap to create blog posts. Thus we investigate the possibilities and if we should prioritize implementing it. Remember to document the research!

Reseach:

Diana - First research i did was to ask ChatGpt what we need, to do a Google authentication login. What I understand so far is that we need some Javascript and need to configurate OAuth 2.0. and add Google API client library

When I Google it I found that we need Javascript to make the sign in and out button interact and need some html and css to implement where the sign in element and buttons should be and style them. To get profile information we need a function in Javascript We need to send the IDtokens to backend what i understand.

I got updated informationen from Marte on: https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow So now we're trying to figure out how to implement it.

taraolivia commented 4 months ago

https://noroff-my.sharepoint.com/personal/tarbjo01657_stud_noroff_no/_layouts/OneNote.aspx?id=%2Fpersonal%2Ftarbjo01657_stud_noroff_no%2FDocuments%2FNotatblokker%2FMusikk%20Forandrer%20Liv&wd=target%28Project%20Documentation.one%7CCB16F8C6-9AC2-4B83-B7EB-D0CEDC245FA1%2FGoogle%20authentication%20login%7CB8EADFC9-69BE-4A4C-91AE-DC294B8BF01E%2F%29

The document where we write what we find out

Anaid0616 commented 4 months ago

Waiting for answers from previous class