一、该问题的重现步骤是什么?
1. 准备软件环境
2. 启动全部服务
3.
二、你期待的结果是什么?实际看到的又是什么?
希望能获取token信息
实际看到浏览器提示:
Access to XMLHttpRequest at 'http://localhost/blade-auth/oauth/token' from origin 'http://127.0.0.1:18000' has been blocked by CORS policy: Request header field request-origion is not allowed by Access-Control-Allow-Headers in preflight response.
localhost/blade-auth/oauth/token:1 Failed to load resource: net::ERR_FAILED
Access to XMLHttpRequest at 'http://localhost/blade-auth/oauth/token' from origin 'http://127.0.0.1:18000' has been blocked by CORS policy: Request header field request-origion is not allowed by Access-Control-Allow-Headers in preflight response.
chunk-vendors.9a4add2b.js:2 POST http://localhost/blade-auth/oauth/token net::ERR_FAILED
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
BladeX
2.8.0.RELEASE.
MacOS Big Sur 11.2.3
Google Chrome 版本 92.0.4484.7(正式版本)dev (x86_64)
四、请提供详细的错误堆栈信息,这很重要。
五、若有更多详细信息,请在下面提供。