dm-authz
v1.0.1
Published
This library will help to validate the Id Token and Auth Token.
Downloads
2
Readme
Authz
This library will help to validate the Id Token and Auth Token.
Integration Steps
Create the separate routes file (i.e auth.routes.js) and add the routes like below,
a. router.post('/verifyAuthToken', authorize.verifyAuthToken)
b. router.get('/verifyIdToken', authorize.verifyIdToken)
Build
Execute the below command for build. - npm run build
Once Build succeed it will create the dist
folder.
Publish
Place the .npmrc file inside the dist folder.
Execute the below command for publish - npm publish