Skip to content

paulinevos/oauth-test-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth 2 Test Server

Use this server to test OAuth functionality in your codebase. Docs for the underlying library can be found here.

To start the server:

  • run npm start

Control returned user info

The email address returned in /userinfo defaults to someone-social@facebook.com. To dynamically request a given email address to be returned from /userinfo, send a base64 encoded json string in the state parameter at the start of your OAuth flow:

{
    "testEmail": "foo@bar.com" 
}

The user returned in the /userinfo response will have the email address provided in the state parameter.

Read the documentation for supported endpoints

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published