More and more projects have sections secured by Google, Twitter or Microsoft identities. For example, for Google, you must create an ID and specify the return URL. Then you must activate the Google Authentication service and secure your methods via Show
Create a Google IDThe first step is to configure Google API to create a project ID, to be used in our application:
More detail in the Microsoft documentation. Once the configuration is complete, you can view or modify it via Google Console. Enable WebAPIs securityIn your ASP.NET Core WebAPI project, add the services Identity, Authentication and Google as follows.
Then enable authentication via
Finally, add the attribute
|