Skip to content

kg0r0/fedcm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

References

About

Experimental implementation of FedCM in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published