Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.25 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.25 KB

fedcm-example

License: MIT
Experimental implementation of FedCM in Go
🚧 Note: This is not ready for production. It can be used only to test the behavior. 🚧
This simple implementation provides for developers to try out FedCM in their local environment.

Prerequisites

Some features depend on the version of Chrome. Therefore, please check the version of Chrome you are using and consider using Chrome Canary in some cases.
For example, the Button Mode API is starting an origin trial on desktop from Chrome 125. So now we need to use Chrome Canary to enable FedCmButtonMode.

How to use

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:https://localhost:8001.

References