Implement Refresh Token Authentication Using Node and JWT
Switch branches/tags
Nothing to show
Clone or download
Latest commit c8f6a7c Mar 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore first push Mar 24, 2018
README.md Create README.md Mar 24, 2018
app.js first push Mar 24, 2018
config.json first push Mar 24, 2018
package.json first push Mar 24, 2018
tokenChecker.js first push Mar 24, 2018

README.md

node-refresh-token

Implement Refresh Token Authentication Using Node and JWT

Clone the repository and switch to the project directory.

Install dependencies using npm install command then run the code using following command.

node app.js

Give following API calls to check the working.

/login

post data =>

{
	"email": "shahid@codeforgeek.com",
	"name": "Shahid"
}

/secure

in headers provide,

x-access-header=access token from the previous API