Apple OAuth
This commit is contained in:
parent
fa91a755c7
commit
e96db5eb40
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue