abp
abp copied to clipboard
Authorization failed! Given policy has not granted!What is the cause?
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
No response
Describe the solution you'd like
When I Post "wx.request({ url: 'https://localhost/api/app/digital-first', header:{ 'Content-Type':'application/json', 'Authorization':'Bearer '+token, }, success (res2) { console.log(res2.data) } });"
The feedback information as following: RemoteServiceErrorInfo ---------- { "code": "Volo.Authorization:010002", "message": "Authorization failed! Given policy has not granted: digital-first", "details": null, "data": { "PolicyName": "digital-first" }, "validationErrors": null }
Additional context
No response