0
votes

Scenario : User should not be logged out once tokens expired .

Apple sign up steps :

  1. Successfully validated the authorization code and got a successful response { "access_token" : "",,"refresh_token" : "",expires_in: ""}

  2. Successfully validated the refresh_token obtained from above step and generated a new access token using POST call to https://appleid.apple.com/auth/token

Problem: How generate user data,id_token from the new access token ?

1

1 Answers

0
votes

There is no UserInfo API in Apple's ecosystem now. Their access tokens are useless at all.

The only way to get user's display name is receiving "user" json object at callback url at the first time authorization. For email, you can get it in id_token too.