This is a paid asset, but now you can download Simple Facebook Sign-In for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Detail this asset from Unity Store: Original Link
Simple Facebook Sign-In v2.2
Simple Facebook Sign-In provides Facebook sign-in with OAuth 2.0 for Android, iOS, Windows, Mac, Universal Windows Platform (UWP) and WebGL apps made with Unity.
Need sign-in for Google? Try my another asset Simple Google Sign-In!
Benefits:
● Cross-platform user auth for cross-platform games and apps
● No plugins, not 3rd party libs, no dependencies
● No impact to build size
● More security for client-server apps (get access token on a client, get all user data on a server to avoid tampering)
● JSON Web Tokens (JWT) validation
Setup steps:
Please visit our GitHub for setup instructions.
General workflow:
● Your app navigates users to Facebook using a default web browser
● Users perform sign-in to their Facebook account
● Facebook redirects users to Authorization Middleware and provides an auth code in URI parameters
● Authorization Middleware activates your app using deep linking (when possible)
● The app is activated and obtains the authorization code
● The app exchanges the code for an access token
● The app requests user data with the access token (ID, name, email and other data according access scope defined)
Known issues:
● AndroidManifest.xml workaround for Unity 2022
● Some web browsers may block deep links by default. Test on another device or browser if redirecting doesn’t happen.
Support:
● GitHub – Wiki
● GitHub – FAQ & Troubleshooting
● GitHub – Bugs & requests
● Discord – Questions, live chat with developers
● Unity forums – Discussion
It would be super awesome if you rate ★★★★★ our asset and leave your feedback! Your reviews inspire us for creating and improving our assets. Thanks and good luck with your projects!