🔳 Experimental implementation of FedCM - Button Mode API
This simple implementation provides for developers to try out Button Mode API in their local environment.
🚧 Note: This is not ready for production 🚧
From Chrome 125, the Button Mode API is starting an origin trial on desktop. So now we need to use Chrome Canary to enable FedCmButtonMode
.
Run the IdP and RP server with one of the following commands:
# Use docker
$ docker-compose build
$ docker-compose up -d
# No use of docker
rp $ go run main.go
idp $ go run main.go
Access to http://localhost:8001.
You can see the following authentication flow from the Federated Credential Management API developer guide.