-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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(flutter_firebase_login): implement sign in with apple #2480
base: master
Are you sure you want to change the base?
Conversation
02d7f79
to
5ce4226
Compare
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.
@juzerali looks great! Left some comments about architecture changes so let me know if you agree. 👍
Thanks for the contribution! 💯
...ter_firebase_login/packages/authentication_repository/lib/src/authentication_repository.dart
Outdated
Show resolved
Hide resolved
...ter_firebase_login/packages/authentication_repository/lib/src/authentication_repository.dart
Outdated
Show resolved
Hide resolved
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.
Overall LGTM, just minor changes for consistency. Also, if you want to make the crypto class a standalone package would be a bonus but it's up to you. 👍
...ter_firebase_login/packages/authentication_repository/lib/src/authentication_repository.dart
Outdated
Show resolved
Hide resolved
examples/flutter_firebase_login/packages/authentication_repository/lib/src/crypto.dart
Outdated
Show resolved
Hide resolved
I was thinking of renaming the class name. So correct name of file and class should be |
Yes, this crypto class would serve us as a wrapper for the crypto package functionality so we don't have private methods to generate a nonce and encrypt it, as it is part of authentication but can be reused and decoupled from the actual authentication logic. 👍 As we use it as an API for the AuthenticationRepository, |
Makes sense @marcossevilla, I have renamed class to |
That's ok for me. Just solve the merge conflicts and we're good to go. 👍 |
* make charset static const * Inject CryptoApi via constructor
95f6f45
to
62e0861
Compare
The MR is rebased on top of master with all conflicts resolved. |
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.
LGTM 🎉
@juzerali it seems you need to run |
Fixed all errors reported by |
@juzerali there are still some lints left to resolve, they probably don't show up because you're using a different version of Flutter than the CI workflow so I suggest you replicate the CI environment config for the lints to show up. 👍 |
@marcossevilla merged |
@juzerali can you fix the failing tests? if you need help, let me know and I can open another PR. 👍 |
hey all, was wondering if this ever got to a point where it was working? i pulled down the branch, and it does compile but when i click on the sign in with apple button it gives me an authentication error. if there is still some work to be done, happy to help out and see if i can move it forward. was it actually at a place where it worked and i am missing something in my local setup? i'd love to see a good example of apple auth since apple now requires it. thanks! |
Status
Ready for review
Breaking Changes
NO
Description
Apple fireauth login