need help adding authentication
How can i add some basic google authentication to my API? (When I want to use an ASP.NET web api controller from the swagger, i want to be redirected to google login and also check if i logged in with a specific email before continuing what the endpoint used to do)
2 Replies
you can follow chain of requests from this article to get user data https://developers.google.com/identity/protocols/oauth2/web-server
Google for Developers
Using OAuth 2.0 for Web Server Applications | Authorization | G...
doesn't really work the way i want it to or doesnt work at all
does anyone have an example of implementation
for what i need?