react-es-fb-login 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,12 +51,14 @@ export type LoginOptions = {
|
|
|
51
51
|
*
|
|
52
52
|
* Use 'rerequest' when re-requesting a declined permission. */
|
|
53
53
|
auth_type?: 'rerequest' | 'reauthenticate' | 'reauthorize';
|
|
54
|
+
response_type?: string;
|
|
54
55
|
scope: string;
|
|
55
56
|
/** Facebook login for business uses config_id instead of scope - won't work without this - reference: https://developers.facebook.com/docs/facebook-login/facebook-login-for-business/ */
|
|
56
57
|
config_id?: string;
|
|
57
58
|
/** When true, the granted scopes will be returned in a comma-separated list in the grantedScopes field of the authResponse
|
|
58
59
|
* @default false */
|
|
59
60
|
return_scopes?: boolean;
|
|
61
|
+
override_default_response_type?: boolean;
|
|
60
62
|
/** When true, prompt the user to grant permission for one or more Pages */
|
|
61
63
|
enable_profile_selector?: boolean;
|
|
62
64
|
/** Comma separated list of IDs to display in the profile selector */
|
|
@@ -66,6 +68,9 @@ export type LoginOptions = {
|
|
|
66
68
|
/** When true, errors catched for window.FB.login() will be ignored
|
|
67
69
|
* @default false */
|
|
68
70
|
ignoreSdkError?: boolean;
|
|
71
|
+
extras?: {
|
|
72
|
+
setup?: any;
|
|
73
|
+
};
|
|
69
74
|
};
|
|
70
75
|
export type FacebookLoginProps = Pick<InitParams, 'appId'> & {
|
|
71
76
|
/** @default 'en_US' */
|