Membership withdrawal web URL link for Facebook login users
Description
Backend.BMember.AuthorizeFederation("", FederationType.FaceBook);
In BACKND, when a user who signed in with Facebook using the method above tries to withdraw membership via the membership withdrawal web URL, the following configuration is required.
- BACKND Console > Authentication Information > Facebook Authentication Information - Enter Facebook App ID
- Facebook Developer > Allowed JavaScript SDK domain > Add storage.thebackend.io
Please refer to SDK Documentation > Game User Management > Federation Authentication > Facebook Authentication Example regarding implementation of Facebook login.
1. Enter Facebook App ID
The Facebook App ID must be entered for login in BACKND Console > Authentication Information > Facebook Authentication Information.
2. Set allowed domains in JavaScript SDK
1) Go to Facebook Developer Page, log in, and enter the linked project
2) From the side menu on the left, go to Product > Facebook Login > Settings tab
3) Go to Client OAuth Settings > JavaScript SDK, then enter the https://storage.thebackend.io value in the allowed domain
If a domain is not entered, the following error may occur in the web withdrawal link.