Authentication GUID

Naresh Ede asked on December 6, 2017 13:34

Hi

I want to created a auto login process, For that I used this method AuthenticationHelper.GetUserAuthenticationUrl(UserInfo,targeturl)

It created a GUID for me in the return URL.

My question is how can i Authenticate the user using that GUID, Because that GUID is not matching with the GUID present in CMS_User table..

Can anybody please tell me the further steps.

Thanks

Naresh Ede

Recent Answers


Brenden Kehren answered on December 6, 2017 14:38

That method is only used for automatically signing users into the Admin interface, not to perform authentication on your public facing site. Meaning if a user is already signed into the Admin interface for another site and they switch to another site using the site switcher (upper left corner), that GUID is added to the URL and keeps them logged in to that site when they switch over.

This method is only used for the Admin UI purpose. If want to automatically log someone in based on URL parameters, I'd suggest looking into creating a temporary hash or something like that in the querystring and then requiring some other secret question to continue with their authentication.

2 votesVote for this answer Mark as a Correct answer

bailey shaw answered on December 7, 2017 10:45

This process is only for creating a user but it cannot be used to authenticate the user but you can do it in a way by creating another method to authenticate. Assignment Writers UK

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.