Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

An OAuth2 server implementation to be used for testing

License

Notifications You must be signed in to change notification settings

patientsknowbest/fake-oauth2-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake OAuth2

This project is an OAuth2 server implementation for testing purposes. See RFC 6749 .

It is useful for you if you are developing an OAuth2 client application and want to stub the server for testing purposes. In this context the subject under testing is your client application and this project can act as a stub of the external OAuth service, which your application is supposed to use. By testing I mean automated end-to-end testing or manual testing, not unit testing.

Currently under development.

Building & running

  • clone this repo
  • run npm install
  • start the server using node server.js
  • you can run the unittests using npm test

Configuration

The application can be configured using environment variables before executing node server.js .

List of environment variables:

Variable name Default value Description

About

An OAuth2 server implementation to be used for testing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published