Created
September 21, 2022 07:25
-
-
Save sergiutesu/9ce68e588719ebc0d7f64fb2998d9bfe to your computer and use it in GitHub Desktop.
Calling our extension .ConfigureAuthentication() from the Startup.cs under ConfigureServices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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