mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 07:44:38 -04: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');
|
$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", [
|
->post("https://appleid.apple.com/auth/token", [
|
||||||
'grant_type' => 'authorization_code',
|
'grant_type' => 'authorization_code',
|
||||||
'code' => $token,
|
'code' => $token,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user