1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Apple OAuth

This commit is contained in:
David Bomba 2022-07-13 16:27:19 +10:00
parent c7b5148e64
commit 9c68aebd1a

View File

@ -342,7 +342,7 @@ class LoginController extends BaseController
nlog($token); nlog($token);
$response = Http::withHeaders(["Content-Type" => "application/x-www-form-urlencoded"]) $response = Http::withHeaders(["Accept" => "application/x-www-form-urlencoded"])
->post("https://appleid.apple.com/auth/oauth2/token", [ ->post("https://appleid.apple.com/auth/oauth2/token", [
"grant_type" => "authorization_code", "grant_type" => "authorization_code",
"code" => $token, "code" => $token,