如何从auth0中的访问令牌获取jwt令牌

时间:2017-08-05 07:35:38

标签: node.js angular token jwt auth0

我正在开发angular2-nodejs-mongodb单页面应用程序。并使用auth0安全性。

我从angular2项目获得 access_token 。但它不是 jwt_token 。主要问题是node.js项目需要jwt_token,如授权:Bearer My_Token 。附上图片。

角度图片:获取access_token

enter image description here

postman:send需要auth0代表jwt_token

enter image description here

postman:尝试访问我的nodejs aaplication

enter image description here

其实我不知道如何将角度访问令牌转换为node.js jwt_tocken

0 个答案:

没有答案
相关问题