How to Customize Azure AD B2B Login Error Screen to Hide Detailed Error Messages in Angular (OIDC)? - Stack Overflow

BackgroundI am developing an Angular application that uses Azure AD B2B for authentication via OpenID

Background

I am developing an Angular application that uses Azure AD B2B for authentication via OpenID Connect (OIDC). The front-end is built with Angular, and we use angular-auth-oidc-client for authentication.

When users fail to log in due to access issues (e.g., not assigned to the app), Azure AD displays a detailed error message that includes information like:

  • Application ID
  • Correlation ID
  • Troubleshooting details
  • User’s email or username

I want to customize or hide these error details and show a more user-friendly message instead.

Microsoft login error screen

  • Is there a way to completely replace the Azure AD default error screen with a custom error page?
  • Can I configure Azure AD to suppress detailed error messages and show a simple error message instead?
  • Is it possible to intercept these errors in Angular and redirect users before they see the default error screen?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744335524a4569096.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信