| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -204,11 +204,13 @@ namespace Shentun.WebPeis.Users | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        protected virtual async Task<TokenResponse> RequestAuthServerLoginByPasswordAsync(HttpClient client, string username, string password) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            var AdminUrl = _configuration.GetSection("Kestrel") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  .GetSection("Endpoints").GetSection("Http") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  .GetSection("Url").Value; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            var request = new PasswordTokenRequest | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                Address = _configuration["AuthServer:Authority"] + "/connect/token", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                Address = AdminUrl + "/connect/token", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                //GrantType = "password",
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                //UserName = username,
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                //Password = password,
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |