mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:47:32 -05:00 
			
		
		
		
	Apple OAuth
This commit is contained in:
		
							parent
							
								
									fa91a755c7
								
							
						
					
					
						commit
						e96db5eb40
					
				@ -340,8 +340,9 @@ class LoginController extends BaseController
 | 
			
		||||
                $token = request()->has('token') ? request()->input('token') : request()->input('auth_code');
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
nlog($token);
 | 
			
		||||
 | 
			
		||||
$response = Http::withHeaders(["Content-Type" => "application/x-www-form-urlencoded"])
 | 
			
		||||
$response = Http::withHeaders(["Content-Type: application/x-www-form-urlencoded"])
 | 
			
		||||
->post("https://appleid.apple.com/auth/token", [
 | 
			
		||||
    'grant_type' => 'authorization_code',
 | 
			
		||||
    'code' => $token,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user