laravel-sign-in-with-apple
laravel-sign-in-with-apple copied to clipboard
redirect URL doesn't contain the authorization code
the sign in works fine but in the response when I retun the user variable instead of this :

it gives me this :

here is my code :
public function handleAppleCallback(Request $request)
{
// get abstract user object, not persisted
$user = Socialite::driver("sign-in-with-apple")
->stateless()
->user();
$this->_registerOrLoginUser($user);
$user->token;
return response()->json($user);
}
Anyone knows how can I get the auth code ?
up
up