This repository is for testing a client connection to a provider.
Usage:
- Clone this repository.
- Run
npm installinside of the directory containingpackage.json. - Edit
server.jsby replacing the client ID, client secret, and provider URL placeholders with yourclient_id,client_secret, and desired provider URL. - Run
node server.jsinside of the directory containingserver.js. - Navigate in a browser to
http://localhost:3000. - Log into the provider.
- Use the
codeandcode_verifierat the token endpoint within five minutes.
Feel free to replace scope and redirect_uris values with those of your own choosing, especially when testing from other environments than localhost.