Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

StackOverflow Point

StackOverflow Point Navigation

  • Web Stories
  • Badges
  • Tags
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Web Stories
  • Badges
  • Tags
Home/ Questions/Q 186192
Alex Hales
  • 0
Alex HalesTeacher
Asked: June 10, 20222022-06-10T18:45:50+00:00 2022-06-10T18:45:50+00:00

javascript – Apple new requirement of enabling account deletion

  • 0

[ad_1]

As everyone is aware that Apple has a new requirement for apps with Sign in with apple option to enable the functionality of account deletion.
They have two main requirements

Step 1. Revoke user tokens

Step 2. Delete all data associated with this account

So, Step 2 is clear and every developer is clear about this but I (and all of the other developers) have some complications/problems regarding step 1 which are stated below.

Problem 1: As stated here we can use https://appleid.apple.com/auth/revoke to revoke the user token, but this API always responds with 200 even if your client_id is wrong. maybe it’s for security reasons and we can verify the revoke of the token by accessing some information using it. Am I right about this?

Problem 2: I know that the max-age for client_secret JWT is 6 months. can we implement this token revoke process on the client-side (app) and after that hit backend for account data deletion request or the other way around?
or is it best to do this all in the backend after properly verifying the user account deletion request by requesting a secret code sent to the email of the user?

Problem 3: Is it better to create the client_secret for every new request of deletion? or we can use set the max age to 6 months without any security concerns?

PS: If you want more context regarding these above queries you can see below question.

I can’t delete the user logged in with apple

How to validate the apple revoke token api (appleid.apple.com/auth/revoke) successfully when handle delete account on iOS?

How can I find the desired client_id and client_secret values for the appleid.apple.com/auth/revoke endpoint?

How to make Apple Sign In Revoke Token POST Request?

[ad_2]

  • 0 0 Answers
  • 7 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report
Leave an answer

Leave an answer
Cancel reply

Browse

Sidebar

Ask A Question

Related Questions

  • xcode - Can you build dynamic libraries for iOS and ...

    • 0 Answers
  • bash - How to check if a process id (PID) ...

    • 401 Answers
  • database - Oracle: Changing VARCHAR2 column to CLOB

    • 371 Answers
  • What's the difference between HEAD, working tree and index, in ...

    • 367 Answers
  • Amazon EC2 Free tier - how many instances can I ...

    • 0 Answers

Stats

  • Questions : 43k

Subscribe

Login

Forgot Password?

Footer

Follow

© 2022 Stackoverflow Point. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.