mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:07:33 -05:00 
			
		
		
		
	Apple OAuth
This commit is contained in:
		
							parent
							
								
									2301409f16
								
							
						
					
					
						commit
						49eb1bac9e
					
				@ -366,10 +366,6 @@ nlog($response);
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    private function getSocialiteUser(string $provider, string $token)
 | 
					    private function getSocialiteUser(string $provider, string $token)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        if($provider == 'apple')
 | 
					 | 
				
			||||||
            return Socialite::driver($provider)->getAccessToken($token);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        return Socialite::driver($provider)->userFromToken($token);
 | 
					        return Socialite::driver($provider)->userFromToken($token);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user