[英]Springboot+Oauth Client Credential Grant Flow with Azure AD
I am trying to protect my API (springboot+java) using Client Credential Grant flow with Azure AD as Authorization Server.我正在尝试使用客户端凭据授予流和 Azure AD 作为授权服务器来保护我的 API (springboot+java)。 I have looked the internet but the examples I am finding is resource and authorization server in springboot.
我看过互联网,但我发现的例子是springboot中的资源和授权服务器。 Does anyone has any samples of how to secure API with Client Credential Grant Flow using Java Springboot and Azure AD?
有没有人有任何关于如何使用 Java Springboot 和 Azure AD 的客户端凭据授予流程来保护 API 的示例? Any help will be highly appreciated.
任何帮助将不胜感激。
We use client credentials flow to get access token with the following steps.我们使用客户端凭据流通过以下步骤获取访问令牌。 The access token is provided by Azure AD.
访问令牌由 Azure AD 提供。
Try this sample with ClientCredentialsResourceDetails
.使用
ClientCredentialsResourceDetails
尝试此示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.