Skip to content

Commit

Permalink
Add option use_fedcm_for_prompt with same value than oneTapEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Maldonado committed Feb 22, 2024
1 parent 783c708 commit 2d6f4e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/lib/src/providers/google-login-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ export class GoogleLoginProvider extends BaseLoginProvider {
this._socialUser.next(socialUser);
},
prompt_parent_id: this.initOptions?.prompt_parent_id,
itp_support: this.initOptions.oneTapEnabled
itp_support: this.initOptions.oneTapEnabled,
use_fedcm_for_prompt: this.initOptions.oneTapEnabled
});

if (this.initOptions.oneTapEnabled) {
Expand Down

1 comment on commit 2d6f4e9

@Outtathaway
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if the problem is with my code but I keep getting the error regarding FedCM when I enable the oneTapEnabled, is it possible that I am missing something?

Please sign in to comment.