We want to figure it out, when the user is using the application within the network/domain then the application will auto-authenticate and redirect to the dashboard otherwise if the user is using the application from an outside domain application will auto-redirect to the application's login page (ASP.Net Core)
How to use Windows and Form authentication in a single project
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Aravind GovindarajRank #430 · 5.8K reputationPosted Nov 24, 2022, 1:46 PM EST
please check is this helps you.
https://stackoverflow.com/questions/12910771/show-login-page-when-website-is-accessed-from-outside-the-intranet