Try our conversational search powered by Generative AI!

Using a different loginpage for extranet users while webeditors/webadmins should go to EpiServer loginpage

Vote:
 

Hi,

We have made a loginpage for extranetusers, and set the path in web.config


<authentication mode="Forms">

         <forms name=".EPiServerLogin" loginUrl="/Logg-deg-inn" timeout="120" />

</authentication>

 

This works fine, but the Webeditors/webadmins also get redirected, and we want them to go to the episerver loginpage.
We have set the Episerverlogin to go to: http://<episerversite>/Login/ in the sitesettings in web.config.
How can we solve this?

 

 

 



 

#24992
Oct 09, 2008 8:51
Vote:
 
It's been a while since you posted this. Did you find a solution to your problem? If not, post back and I will explain how we solved it for a customer :)
#25726
Nov 03, 2008 14:55
Vote:
 
You could always explain it to me Cool
#25855
Nov 08, 2008 12:11
Vote:
 

ASP.NET can only have one loginUrl. All unauthenticated users must go through this single page. But from this page you can redirect the user to the "real" login page, using returnUrl from the querystring to find out to wich page to redirect.

I used this solution a couple of years ago on EPi 4.61. The returnUrl contained the page id. I used the page id to know wich login page that should be used.

 

#25981
Nov 14, 2008 12:36
Vote:
 

I solved this using a different aproach. I've explained my solution in the blog post "Authenticate users from different sources" at http://epinova.no/no/Blog/episerver_blog/

--
Lars Øyvind Bodahl 

#26366
Edited, Dec 03, 2008 0:10
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.