How can I configure ALB to render an OIDC error response from the IdP?

0

When an Application Load Balancer (ALB) is configured to authenticate users against an OIDC IdP provider, there are a variety of circumstances where the IdP may deny access, thereby redirecting the user back to the ALB with the "error" and "error_description" query parameters, as per the OAuth2 spec. (One such example is if the user is denied access from the context of an Auth0 post-login action.)

In these scenarios, it appears that the ALB will simply automatically render a blank "401 Authorization Required" page, rather than displaying the error details, or providing the ALB target an opportunity to respond to the error in a user/client-friendly manner. I've reviewed (and even commented) on the troubleshooting article, but I've not found any solution so far.

Is there any configuration or other possibility for handling this case in a user-friendly manner? At the very least, the page the error sees should provide an option for retrying the authentication process.

질문됨 10달 전162회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠