Skip to content

Instantly share code, notes, and snippets.

@sergiutesu
Created September 21, 2022 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergiutesu/9ce68e588719ebc0d7f64fb2998d9bfe to your computer and use it in GitHub Desktop.
Save sergiutesu/9ce68e588719ebc0d7f64fb2998d9bfe to your computer and use it in GitHub Desktop.
Calling our extension .ConfigureAuthentication() from the Startup.cs under ConfigureServices
public void ConfigureServices(IServiceCollection services)
{
services.AddUmbraco(_env, _config)
.AddBackOffice()
.AddWebsite()
.AddComposers()
.ConfigureAuthentication()
.ConfigureAuthenticationMembers()
.Build();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment