Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Never ending login loop

Vote:
 

Hi, a bit of a strange one.

I have a custom login page, which has been added to the <location> section of the web.config to allow it to load outside of forms authentication.

It's been working fine, but a couple of days ago, when trying to load this page, the server gets into a loop and results in a URL with 

ReturnUrl=%2fen%2fLogin%2f%3fReturnUrl%3d%2fen%2fLogin%2f%3fReturnUrl%253d%2fen%2fLogin%2f%3fReturnUrl%25253d%2fen%2fLogin%2f%3fReturnUrl%2525253d%2fen%2fLogin%2f%3fReturnUr

until the querystring runs out of room and the browser chrashes.

this only happens if the login page inherits from a PageType (TemplatePage), but not if its just a system.web.ui.Page.

Can EPiServer somehow get involved with forms authentication?

any ideas where to look,

Thanks in advance

#49632
Mar 25, 2011 12:17
Vote:
 

Answer : Make sure EPiServer allows "everyone" to be able to "read" the login page.  This overrides form authentication.

Doh, sorry ppl.

#49633
Mar 25, 2011 12:29
* 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.