Hello FedCM newsletter subscribers!
The Chrome team has been actively working with the Firefox and Safari teams to make the IdP Sign-in Status API which is currently in Origin Trial interoperable and extensible. During TPAC 2023, we aligned on the API in general and one outcome that affects the current deployment is the API renaming.
"IdP Sign-In Status API" has been renamed to "IdP Login Status API". It also changes the API for JS and the HTTP header.
M116-119:
IdP-SignIn-Status: action=signin
IdP-SignIn-Status: action=signout-all
M119-:
Set-Login: logged-in
Set-Login: logged-out
M116-119:
IdentityProvider.login()
IdentityProvider.logout()
M119-:
navigator.login.setStatus("logged-in")
navigator.login.setStatus("logged-out")
Chrome 119 supports the old and new API. Chrome 120 supports only the new one.
See more details on Explainer.