Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Asp.net redirect to page based Azure AD user

Hello, I have asp.net web forms project with Azure AD authentication, now in this project i have two forms "webfrom1.aspx" and "webform2.aspx" now i need that, if user "it" is login then redirect to "web form 1.aspx" or if user "finance" login then redirect to "web form 2.aspx". please help me! Thanks

like image 968
Naqib Avatar asked Jan 22 '26 19:01

Naqib


1 Answers

As part of your authentication configuration, you could specify a RedirectUri to a page that could make the decision on where to redirect (webform1.aspx or webform2.aspx) based on the user.

like image 169
Don Lockhart Avatar answered Jan 24 '26 16:01

Don Lockhart



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!