Last post Apr 04, 2016 05:55 AM by Raigad
Feb 05, 2016 07:10 AM|Raigad|LINK
We have already implemented ADFS configuration in one of my MVC 4 application and working fine, but know we are in situation where we need to implement NON ADFS authentication in application.
How we can achieve this where ADFS authentication is already implemented and running and need NON ADFS (Normal login functionality) in application.
How to identity and redirect to ADFS loging page or normal login page.
Feb 05, 2016 02:40 PM|BrockAllen|LINK
One approach is ti use a federation gateway like IdentityServer:
Feb 09, 2016 10:53 AM|Raigad|LINK
I do have another solution is to check whether request is coming from Intranet or Internet environment so that I can show login pages respectively.
Do we have anything which identifies that from where request is coming Intranet or Internet.
Feb 15, 2016 08:11 AM|Candice Zhou|LINK
If you want to identify if a request comes from Internet or Intranet, you could check the IP address of a user. Like below:
var clientIP = System.Web.HttpContext.Current.Request.UserHostAddress;
bool isIntranetUser = clientIP.StartsWith("192.") || clientIP .StartsWith("172.") ||
clientIP.StartsWith("10.") || HttpRequest.Current.Request.IsLocal;
Apr 04, 2016 05:55 AM|Raigad|LINK
Thanks for reply but We know the IP address of hosting server only...don't any other series of IPs get used in different areas of world.
Do we have any another way for it.