Skip to content

samdelagarza/oauth2-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple project to facilitate oauth2.0 authorization_code grantType handshake

Getting Started

Create a configs.json file in the same directory
Add in your settings:

    {
        "authorizationURL": "https://sim.api.tradestation.com/v2/authorize",
        "redirectURI": "http://localhost:3000/authorized2",
        "tokenURL": "https://sim.api.tradestation.com/v2/security/authorize",
        "clientID": "your client id",
        "clientSecret": "your client secret",
        "callbackURL": "once a code is issued, this is the callback on your server that will issue a token request"
    }

About

a passport sample of how to create a code grant server for oauth 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors