Skip to content

Fluffy-Bunny-Blog-Posts/External-Login-in-asp.net-core-3.x-Using-In-Memory-Database-in-Production

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

External-Login-in-asp.net-core-3.x-Using-In-Memory-Database-in-Production

medium post

If sync the code based upon the commits you will see the progression of build out.

  1. Out of the box app with individual acconts + Identity scaffolding
  2. Swap out the sql database with the in-memory version
  3. Add a couple of external OpenId Connect Logins like DemoIdentityServer and Google (you will need your onw secrets for this one)
  4. Modify the scaffolding to auto-register the external user and signin them in.

Google IDP

openid-connect

Once you get your app keys from google you can add them to your secrets.json;

{
  "externalOIDC:1:clientId": "***REDACTED***.apps.googleusercontent.com",
  "externalOIDC:1:clientSecret": "***REDACTED***",
  "externalOIDC:1:authority": "https://accounts.google.com/"
}

Releases

No releases published

Packages

No packages published

Languages