【发布时间】:2017-07-02 21:26:28
【问题描述】:
尝试使用 Postman 测试我的应用。
使用我在 Auth0 仪表板上创建的 test 使用发布到 /oauth/ro 获得了 access_token 和 id_token。
现在在种子项目中有这条路线/api/protected,我正在尝试使用 Postman 对其进行 GET 请求。
This guide 表示只需添加此标头authorization": "Bearer YOUR_ID_TOKEN_HERE"
我有,但我总是收到Unauthorized User
【问题讨论】: