79593176

Date: 2025-04-25 19:13:59
Score: 0.5
Natty:
Report link

Using the google.accounts.id.prompt callback handler to take action is one good option. You may decide to conditionally display a dialog if a credential is returned or enter a different auth flow if not. isDisplayed is not supported by FedCM, so info on whether the model is shown to the user is not available to web apps. You'll want to remove any code that currently depends upon isDisplayed state.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: bdid