manfredsteyer/angular-oauth2-oidc 中的默认回调 URL 是什么

What is the default CallBack URL in manfredsteyer/angular-oauth2-oidc

我们有一些项目使用 manfredsteyer/angular-oauth2-oidc GitHub 项目来执行我们的 OIDC 流程。

在授权代码流程中,用户在 IDP 处登录后,IDP 从应用程序调用 url 以将代码(和会话)传递给它。

angular-oauth2-oidc 监听的默认值是多少?

(如果你想知道为什么我需要这个,我可以配置我的 IDP 以期望该值。如果它得到一个不期望的回调 url,那么它会阻止回调。)

你可以configure redirectUri to determine what place in your application is used for this. Its default value is '', I tend to change this to redirectUri: window.location.origin + '/'我自己。