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!

Log in into chat application using default login



I want to login into my chat application which is a javascript app from the logged in credentials of the Episerver. I was just having a look into episerver alloy app. I was not able to find the login page. Please how you help me on achieving this. Thanks is advance!!!!

Jan 27, 2016 15:25

for most EPiServer sites you can always log in using the url:


To get the current user and check authentication:




You can use the second to log in the current user to your js app...

Jan 27, 2016 15:36

Thanks for the reply daniel. I am the alloy app in my visual studio . I was not able to find the login.aspx page in the Solution explorer. I am using active directory to login, I need username and password of the user to autologin into my chat account. Would be suggest me a way how to achieve it.

Jan 28, 2016 7:10

Hi i am using ejabberg server with converse.js, i need to pass the CurrentPrincipal for authentication.

This is how is need to achieve it but how to pass SID and RID.

Jan 28, 2016 8:05

I would probably do a custom login page for EPi. There are plenty of guides of how to do that. It's pretty easy...

After validating credentials I would store a unique id in session for the user that I can then use as SID and pass to ejabberg server. 

For RID I would probably generate a unique id for each request in the ActionFilter that is used to set the overall layout for mvc / masterpage for webforms. 

Jan 28, 2016 10:02
* 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.