Google Authentication with ASP.NET Core
5 of 5 posts published
We delve deeper into some more advanced techniques when using Google Authentication with ASP.NET Core. We go beyond the basics of adding a Google login button and look at advanced techniques such as using the authorization token, creating test users, limiting users by domain, and auto-provisioning users.
- 01
Add Google authentication to ASP.NET Core (without Identity)
Describes how you can add authentication via Google to an ASP.NET Core application without using ASP.NET Core Identity
- 02
Restricting Google logins based on the user's domain
Describes how you can work with managed Google accounts in ASP.NET Core to extract the users underlying email domain and restrict users to a specific domain.
- 03
Managing test users for Google authentication
Describes how you can invite test users to your OAuth application and create many test users with Google Cloud Identity.
- 04
Create local user accounts for Google logins
Adds the creation of local users accounts for users logging in via Google to help with quickly looking up user details
- 05
Use a custom primary key for local Google accounts
We adapt the previous solution for creating local users for Google logins to not be tied to the ID of the Google user.