Skip to content

samuelgoto/static-issuer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-fedcm

This is the simplest FedCM server that serves static and hardcoded information. It is useful for testing purposes.

Installing:

npm install
npm run-script start

Then, in a browser, call:

await navigator.credentials.get({
  mediation: "required",
  identity: {
    context: "signup",
    mode: "button",
    providers: [{
      configURL: "http://localhost:8080/fedcm.json",
      clientId: "1234",
      nonce: "5678",
    }]
  } 
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published