Repository navigation
feat: Adds support to Facebook Identity Provider - #4689
Conversation
|
Hi @marcelomendoncasoares, |
|
Just checking in on this one! I know you're super busy, but whenever you have a moment, could you take a look? Since it's closely aligned with our previous work on other IDPs, I'm hoping it'll be a fairly straightforward review. Thanks again for your time! |
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
Excellent work with more this provider, @vfiruz97! The main comment I have is the suggestion to decouple the flutter_facebook_auth from the main Flutter IDP package to avoid pushing too much platform-specific code onto users - which is not three-shaken and can create trouble building apps that does not use it.
2a4e857 to
b7cb840
Compare
…ate Facebook sign-in button styles
ea30bf5 to
c8d52bf
Compare
|
Hi @marcelomendoncasoares, the comments are addressed. |
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
Nice changes, @vfiruz97! And great implementation of the external registry. Only a couple last comments for improvement and we're good to go! 🚀
|
@marcelomendoncasoares, as always great suggestions! The comments are addressed. This is ready for another review. |
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
Great work with this provider, @vfiruz97! LGTM! 🚀
|
I'm addressing the issue discussed here: serverpod/serverpod_docs#418 (comment) Since this PR is still open, I included the fix here. The remaining fixes will come in a separate PR from main. Next, I'll review the Facebook docs according to the new guide style and request a review. |
d5a18ac
into
serverpod:main
This PR adds Facebook OAuth authentication support to the
serverpod_authmodule. It implements a complete Facebook identity provider (IDP) with access token validation for enhanced security across all platforms.Key features:
Dependencies added:
This PR adds one dependency to
serverpod_auth_idp_flutter:flutter_facebook_auth: ^7.1.5- Popular Flutter package for Facebook authentication. Well-maintained with cross-platform support. This is the standard Flutter package for Facebook OAuth implementation that handles the native platform SDKs.Note: On iOS, Facebook may issue limited access tokens when App Tracking Transparency (ATT) permission is not granted. These limited tokens cannot be validated by the server or used to retrieve user profile data, which will cause authentication to fail. Documentation will include a dedicated section on requesting ATT permissions to ensure full Facebook authentication functionality on iOS.
Demo:
A short video demonstration of Facebook Sign-In working across different platforms is available here: e2e test video
Fixes #147.
Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.If you need help, consider asking for advice on the discussion board.
Breaking changes
None. This is a new feature that adds Facebook authentication support without modifying existing authentication methods or APIs.