Skip to content

Instantly share code, notes, and snippets.

@ArnauMrJeff
Last active May 19, 2024 15:27
Show Gist options
  • Save ArnauMrJeff/cc952aa105829afecab6ff7561a503bf to your computer and use it in GitHub Desktop.
Save ArnauMrJeff/cc952aa105829afecab6ff7561a503bf to your computer and use it in GitHub Desktop.
Apple ID Sign In: AppleAuth First Step
private void appleAuth(String authorizationCodeSentByApp, String keyIdentifierSentByApp) throws Exception {
var token = generateJWT();
//Http Requests Client
var tokenResponse = httpClient.getTokenResponse("CLIENT_ID", token, "authorization_code", authorizationCodeSentByApp);
var idToken = tokenResponse.getIdToken();
// Next Steps
}
@TateTTW
Copy link

TateTTW commented May 19, 2024

Where is httpClient defined?
Exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment