mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 04:12:25 -06:00 
			
		
		
		
	[chore] Bump oauth2/v4 -> v4.6.6.6-SSB (#1571)
This commit is contained in:
		
					parent
					
						
							
								4bb3f59324
							
						
					
				
			
			
				commit
				
					
						d550f0ecbe
					
				
			
		
					 4 changed files with 8 additions and 4 deletions
				
			
		
							
								
								
									
										4
									
								
								vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go
									
										
									
										generated
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -313,6 +313,10 @@ func (s *Server) ValidationTokenRequest(r *http.Request) (oauth2.GrantType, *oau
 | 
			
		|||
		return "", nil, errors.ErrUnsupportedGrantType
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if !s.CheckGrantType(gt) {
 | 
			
		||||
		return "", nil, errors.ErrUnsupportedGrantType
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	clientID, clientSecret, err := s.ClientInfoHandler(r)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return "", nil, err
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue