简体   繁体   English

Jhipster Azure AD 访问令牌

[英]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您将特别对AADClaimsVerifierSecurityResourceServerConfig感兴趣

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 获取访问令牌和登录时出现Azure AD错误 - Azure AD error when fetching access token & login Azure AD Token generaiton using reactjs, to access WebAPI and SharePoint REST API/GrapAPI using jwt token - Azure AD Token generaiton using reactjs, to access WebAPI and SharePoint REST API/GrapAPI using jwt token Azure 广告身份验证 SPA 令牌无法通过我的 API 进行身份验证 - Azure ad authentication SPA token not able to authenticate by my API 从 Microsoft Graph for Azure 获取访问令牌 - Get access token from Microsoft Graph for Azure Azure 访问令牌 react-aad-msal - Azure Access Token react-aad-msal 如何使用 Azure AD 解决 Access-Control-Allow-Origin 错误 - How to resolve Access-Control-Allow-Origin error with Azure AD 如何限制特定浏览器的 azure AD 访问? - How can I restrict azure AD access from specific browsers? oidc-client.min.js 中的意外令牌“else”导致反应应用在 Azure AD 登录后刷新 - Unexpected token 'else' in oidc-client.min.js causing react app to refresh after Azure AD login .NET Core 2.2 Web API Azure门户AD身份验证| 如何使用有效的Bearer令牌获取用户信息? - .NET Core 2.2 Web API | Azure Portal AD Authentication | How to get user info with a valid Bearer Token? 在浏览器中生成范围为 Kusto Azure 数据资源管理器的访问令牌 - Generate an access token in the browser that is scoped to Kusto Azure Data Explorer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM