I have the same issue with Api.access.deny causes redirect loop and I’m using the accepted solution which is to use the
However, following the OP’s example whereby users without the
private role will be denied at login, I need to be able to pass a message (e.g.
Access Denied due to no private role to the Sign-In page - and then be able to render it in code in the Classic Login Experience.
I’m looking for ideas how to achieve this.