File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -126,13 +126,11 @@ private static void Main(string[] args)
126126             { 
127127                 microsoftoptions . ClientId  =  configuration [ "authentication:microsoft:clientid" ]  ??  throw  new  InvalidOperationException ( "authentication:microsoft:clientid unexpectedly null" ) ; 
128128                 microsoftoptions . ClientSecret  =  configuration [ "authentication:microsoft:clientsecret" ]  ??  throw  new  InvalidOperationException ( "authentication:microsoft:clientsecret unexpectedly null" ) ; 
129-                  microsoftoptions . CallbackPath  =  "/signin-microsoft" ; 
130129             } ) 
131130             . AddGitHub ( o => 
132131             { 
133132                 o . ClientId  =  configuration [ "authentication:github:clientId" ]  ??  throw  new  InvalidOperationException ( "github:clientId unexpectedly null" ) ; 
134133                 o . ClientSecret  =  configuration [ "authentication:github:clientSecret" ]  ??  throw  new  InvalidOperationException ( "github:clientSecret unexpectedly null" ) ; 
135-                  o . CallbackPath  =  "/signin-github" ; 
136134
137135                 // Grants access to read a user's profile data. 
138136                 // https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps 
@@ -176,8 +174,8 @@ private static void Main(string[] args)
176174            return  next ( context ) ; 
177175        } ) ; 
178176
179-         app . MapDefaultControllerRoute ( ) ; 
180177        app . MapRazorPages ( ) ; 
178+         app . MapDefaultControllerRoute ( ) ; 
181179
182180        app . MapControllerRoute ( 
183181            name :  "slug" , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments