[英]Jhipster Azure AD Access token
I am using Azure AD access token instead of default openID connect server (keycloak) to protect the backend REST API.我使用 Azure AD 访问令牌而不是默认的 openID 连接服务器 (keycloak) 来保护后端 REST API。 Could you please let me know if i need to make any changes for AuidenceValidator class under package security.oauth2.
如果我需要对包 security.oauth2 下的 AuidenceValidator 类进行任何更改,请告诉我。
Application flow:申请流程:
UI(React JS) will access the Spring boot API by passing access token. UI(React JS) 将通过传递访问令牌来访问 Spring boot API。
Please take a look at the ms-identity-java-webapi sample .请查看ms-identity-java-webapi 示例。 The
msal-obo-sample
shows how to validate an access token acquired by MSAL using Spring Security. msal-obo-sample
展示了如何使用 Spring Security 验证 MSAL 获取的访问令牌。 You will be interested specifically in AADClaimsVerifier
and SecurityResourceServerConfig
您将特别对
AADClaimsVerifier
和SecurityResourceServerConfig
感兴趣
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.