我认为这是与角度5.2.8&有关的错误. 6.
角度5.2.7工作正常.
我创建一个 ng5 branch并更新角度到最新的5.2.8和错误com!
任何人都可以指导我使用oidc-client-js进行角度5.2.8和更高版本的样本?
角度5.2.7工作正常.
我创建一个 ng5 branch并更新角度到最新的5.2.8和错误com!
任何人都可以指导我使用oidc-client-js进行角度5.2.8和更高版本的样本?
解决方法
它是由window.location.hash中的状态URI编码引起的.
对我来说,这解决了这个问题:
对我来说,这解决了这个问题:
if (window.location.hash) { window.location.hash = decodeURIComponent(window.location.hash); // authorizedCallback returns wrong result when hash is URI encoded this.oidcSecurityService.authorizedCallback(); } else { this.oidcSecurityService.authorize(); }