We tested our application for FedCM changes as mentioned in the Beta Test Program https://developers.google.com/identity/gsi/web/guides/fedcm-migration.
Steps we followed:
- Enabled the experimental FedCmWithoutThirdPartyCookies feature under chrome://flags.
- Blocked the third party cookies in browser settings.
- Have set use_fedcm_for_prompt to true in the IdConfiguration object.
- We haven't used opt_out_or_no_session in our application.
- We haven't used position style attributes from data-prompt_parent_id and intermediate_iframes in our application.
- We have not defined CSP for our website.
- We haven't used AMP support for our sign for our application.
After making these changes, we see the following:
- The one tap prompt dialogue doesn't get displayed initially and throws a message 'Third-party sign in was disabled in browser Site Settings'
- After a minute we also see this error in the console - '[GSI_LOGGER]: FedCM get() rejects with NetworkError: Error retrieving a token.' So basically we do not see the prompt dialogue.
Is this issue related to auto_select : true in the IdConfigurationObject?? The one tap prompt dialogue did not seem to appear even when tried with commenting the 'auto_select : true' parameter.
After making these changes, we see the following:
- The one tap prompt dialogue doesn't get displayed initially and throws a message 'Third-party sign in was disabled in browser Site Settings'
- After a minute we also see this error in the console - '[GSI_LOGGER]: FedCM get() rejects with NetworkError: Error retrieving a token.' So basically we do not see the prompt dialogue.
Is this issue related to auto_select : true in the IdConfigurationObject?? The one tap prompt dialogue did not seem to appear even when tried with commenting the 'auto_select : true' parameter.
The One Tap does not display because your browser had the "Third-party sign-in" setting disabled. You can enable it by going to chrome://settings/content/federatedIdentityApi on your Chrome Browser.