Hi,
I have successfully implemented the Apple Sign In/Sign Up flows into my iOS app. However, I am not sure how to proceed regarding the account deletion which, as you may know, has been made mandatory by Apple:
- If your app offers Sign in with Apple, you’ll need to use the Sign in with Apple REST API to revoke user tokens when deleting an account.
So, only deleting the user account through the Atlas Services is not enough.
I took a look at the revoke flow and tried to follow the tutorial here (for Firebase) but I am encountering an error 'crypto' module: error signing message
when running the makeJWT()
function.
I think I have an issue with the encoding of the private key if I save it directly as a string. AFAIK I cannot read a file from the function…
Did anyone try to implement the revoke flow on MongoDB/Realm?