AADSTS9002325:cross-origin 授权代码兑换需要代码交换证明密钥

AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption

我创建了一个仅归我的组织所有的 spa 应用程序,但在请求代码时出现问题。我该如何解决?

我可以重现您的问题,您必须在 web(不是单页应用程序)下添加重定向 URL。之后,您将能够使用 auth code flow 获取 code

类似问题,参见:here and here and here.