Redirect to Custom Help Page on OIDC Login Failure – Simple Steps
Create a Mendix Page
Name it Page_AuthHelp
, set the URL as /authhelp
Enable anonymous access to this page in project security
Update OIDC Error Handler
Open the ACT_ShowCustomExceptionMessage
microflow from the OIDC module
Find the constant or variable that sets the redirect URL
Set its value to /p/authhelp
(Mendix requires /p/
before page URLs)
Deploy and Test
Test an invalid login scenario; user should be redirected to the /p/authhelp
page
Additional Notes
Clear browser cache or test in incognito if redirect doesn’t work
Ensure the module where Page_AuthHelp
resides allows anonymous users
Avoid using popups or restricted pages in the redirection path