File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ export default function GoogleOneTapInitializer(): ReactNode {
67
67
auto_select : config . oneTap . autoSelect ,
68
68
cancel_on_tap_outside : config . oneTap . closeOnTapOutside ,
69
69
itp_support : config . oneTap . itpSupport ,
70
+ // Disable FedCM for prompt.
71
+ use_fedcm_for_prompt : false ,
72
+ // Set context to use, to show "Use xxx" in Google One Tap prompt.
73
+ context : 'use' ,
70
74
} ) ;
71
75
72
76
// Show One Tap prompt
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ type GoogleOneTapInitConfig = {
22
22
auto_select ?: boolean ;
23
23
cancel_on_tap_outside ?: boolean ;
24
24
itp_support ?: boolean ;
25
+ use_fedcm_for_prompt ?: boolean ;
26
+ context ?: 'use' | 'signin' | 'signup' ;
25
27
} ;
26
28
27
29
export { } ;
You can’t perform that action at this time.
0 commit comments