Skip to content

Instantly share code, notes, and snippets.

@codemillmatt
Created August 10, 2020 21:05
Show Gist options
  • Save codemillmatt/70f4ae8dbd6b9e78c912e9ca7b0ad5d7 to your computer and use it in GitHub Desktop.
Save codemillmatt/70f4ae8dbd6b9e78c912e9ca7b0ad5d7 to your computer and use it in GitHub Desktop.
Web App startup that calls web api
services.AddMicrosoftWebAppAuthentication(Configuration, "AzureAd")
.AddMicrosoftWebAppCallsWebApi(Configuration, "AzureAd")
.AddInMemoryTokenCaches();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment