【问题标题】:How to implement OAuth 2.0 authorization code flow between Angular (Front-End) and Spring Boot (at Back-End) using Azure AD如何使用 Azure AD 在 Angular(前端)和 Spring Boot(后端)之间实现 OAuth 2.0 授权代码流
【发布时间】:2020-09-10 17:57:16
【问题描述】:

我正在尝试使用 Azure AD 在 Angular(前端)和 Spring Boot(后端)之间实现 OAuth 2.0 授权代码授予。我无法取得任何成功。我查看了 Azure Doc 中提供的文档。前端没有带有 Angular 的示例,后端没有带有 Spring Boot 的示例。任何建议都会有所帮助。

【问题讨论】:

  • 非常感谢卡尔的帮助。你是救生员:-)
  • 我为你感到高兴,我将它作为答案发布,希望能帮助更多的人。
  • 如果我的回答对您有帮助,您可以接受它作为答案(单击答案旁边的复选标记,将其从灰色切换为已填充。)。请参阅meta.stackexchange.com/questions/5234/… 这可能对其他社区成员有益。谢谢。

标签: azure spring-boot oauth-2.0 azure-active-directory


【解决方案1】:

可以参考这个document,前端使用Angular,后端使用Spring Boot,授权使用OAuth 2.0 auth code flow

【讨论】:

    猜你喜欢
    • 2021-05-14
    • 2019-07-07
    • 2021-04-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-01
    • 2016-10-15
    • 1970-01-01
    相关资源
    最近更新 更多