mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 00:44:35 -04:00
Apple OAuth
This commit is contained in:
parent
577751cf6f
commit
b487ac8c0c
@ -342,8 +342,8 @@ class LoginController extends BaseController
|
|||||||
|
|
||||||
nlog($token);
|
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/oauth2/token", [
|
||||||
'grant_type' => 'authorization_code',
|
'grant_type' => 'authorization_code',
|
||||||
'code' => $token,
|
'code' => $token,
|
||||||
'redirect_url' => config('ninja.ninja_apple_redirect_url'),
|
'redirect_url' => config('ninja.ninja_apple_redirect_url'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user