用identityServer4做的登录授权。最后的回调地址出现了如下的错误页。控制台报如下错误:
Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self'".
error
请求的页面无法打开:http://127.0.0.1:8020/h5/app/redirect.html?code=d07b04d5d5b13a3e307204f50071ade7c383a61fd63728114026dbcb1875e2fe&scope=openid%20profile%20environmental_protection&state=bjBZSA22F3&session_state=hfIZryQZbyc0P92LrUP7F1LWK6Ue4omTauNVDsYZwGs.9c6937e22c4e42610b39efa9cc8816ee at file:///android_asset/data/dcloud_error.html:41
真机出现情况如下图。
我的回调地址设置为:"http://127.0.0.1:8020/h5/app/redirect.html"。
看后台日志,是已经有跳转成功的状态码返回的。所以目前是回调地址出现了问题。请问这个 本机的回调页面地址应该怎么确定?