Sign In with Apple: Migrating Users to Another Team

⚠ It'd be great to get some Apple Dev eyes on this -- it's one of my last remaining issues before submission.

Regarding migrating Sign In with Apple users from team PLR8R96VKA to team Y76F338229...

I'm following the migration steps at the bottom of https://developer.apple.com/documentation/signinwithapple, in the Transfers Across Teams section.

My call to the /auth/usermigrationinfo endpoint results in a 400 error: invalid_request, but my request params all look correct:

  • transfer_sub is set to the the value I got from a successful /auth/usermigrationinfo response.
  • client_id is set to Services ID of the new team's Sign In with Apple service.
  • client_secret was built from the new team's Key ID, Team ID and Services ID. I know it's content and format is valid because it worked fine when calling the /auth/token endpoint.
  • I know my auth token is fine (the one I got from /auth/token)--I'm sure I'd see an auth error if it wasn't.

Is there any way I can get more information about what is invalid about the request?

Answered by DTS Engineer in 913694022

Hi @CCS-Anthony,

You wrote:

Is there any way I can get more information about what is invalid about the request?

The most likely issue is that the user account you've attempted to migrate had already revoked access to their infromation. In that case, the request would certainly be invalid. To learn more about the underlying cause, we'd need you to reproduce the issue, and provide the requested information from the post below in a new Feedback report:

Gathering required information for troubleshooting Sign in with Apple user migration

https://developer.apple.com/forums/thread/762829

Once submitted, please reply here with the Feedback ID.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi @CCS-Anthony,

You wrote:

Is there any way I can get more information about what is invalid about the request?

The most likely issue is that the user account you've attempted to migrate had already revoked access to their infromation. In that case, the request would certainly be invalid. To learn more about the underlying cause, we'd need you to reproduce the issue, and provide the requested information from the post below in a new Feedback report:

Gathering required information for troubleshooting Sign in with Apple user migration

https://developer.apple.com/forums/thread/762829

Once submitted, please reply here with the Feedback ID.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer