The procedure is working fine. the problem is on the part of the OnAutoLinking I am checking if the user is in an Active Directory group.
If he is in the code run successfully.
I need help to set inside the code the option to redirect the user to a URL in case he is not listed in my Active Directory groups.
Redirect an unauthorized user to a URL on auto linking
Hey,
I am using the documentation - Authenticating the Umbraco backoffice with Azure Active Directory credentials on my Umbraco 10.4
https://docs.umbraco.com/umbraco-cms/v/10.latest-lts/reference/security/authenticate-with-active-directory
The procedure is working fine. the problem is on the part of the OnAutoLinking I am checking if the user is in an Active Directory group. If he is in the code run successfully.
I need help to set inside the code the option to redirect the user to a URL in case he is not listed in my Active Directory groups.
Regards, Michael
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.