-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(auth, revokeToken): sign in with apple revokeToken API #7239
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just verified this has been out for a while (firebase-ios-sdk 10.8.0) which shouldn't be a breaking change for anyone since I did a break on the firebase-ios-sdk 10.8.0 release itself
I pushed a commit that fixes up the lint errors, CI should go green with this
Codecov Report
@@ Coverage Diff @@
## main #7239 +/- ##
=============================================
- Coverage 69.09% 53.80% -15.29%
- Complexity 0 735 +735
=============================================
Files 129 231 +102
Lines 5363 11628 +6265
Branches 1206 1864 +658
=============================================
+ Hits 3705 6255 +2550
- Misses 1564 5026 +3462
- Partials 94 347 +253 |
Releasing this now as should-be 18.3.0 - thanks again! |
Sorry, was out of town earlier this week so I couldn't respond. Thanks for fixing up the lint issues and merging! |
Thanks folks, it was a pain to do this from the backend. |
* feat(revoke): add support for revokeToken API * Fixed there/their * style(auth, lint): result of `yarn lint:android && yarn lint:ios:fix` --------- Co-authored-by: Mike Hardy <github@mikehardy.net>
* feat(revoke): add support for revokeToken API * Fixed there/their * style(auth, lint): result of `yarn lint:android && yarn lint:ios:fix` --------- Co-authored-by: Mike Hardy <github@mikehardy.net>
Description
Apple requires apps support revocation of the Sign in with Apple token when a user wants to delete their account. Firebase added this support in the Firebase Auth iOS SDK. This PR adds the JS ReactNative bindings so that it can be called from JS.
Related issues
N/A
Release Summary
Added support for revoking a Sign in with Apple token
Checklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
This is the same code that I patched into my own project to revoke Sign in with Apple tokens. I tested it extensively in that app. Unfortunately, I'm not allowed to provide screenshots or videos from that app because it is proprietary.
To make sure this works with your app, it's important to follow the steps outlined here, specifically creating a private key with Apple and filling out the
Services ID
andOAuth code flow
portions on Firebase correctly.Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on Twitter🔥