Hi Experts,
I have creates a custom registration page(Entity Form) with username and password.
After registration User is able to login through the OOB sign in page .
But I have a requirement to user should be logged in automatically without using sign in page.
Thanks in Adavance
*This post is locked for comments
Thanks Arpit for your response. I'll try.
Hi Hemant,
Portal users must enter their credential on SignIn page in order to proceed and use rest of the portal functionality smoothly. Skipping that page may create issues in lot of places.
Because there are lot of Contact field's values and site settings depends on that.
The alternative you can try is:
If you are taking the user's credentials in your custom registration form. Set/Store the username and password in session or in local storage.
Now, on SignIn page, get the credentials from session/local storage and trigger the Login button automatically through JS.
By doing this user will get automatically Logged In onto the portal without entering the credential in Sign In page.
https://www.w3schools.com/html/html5_webstorage.asp
If you find the answer as useful, please mark it as verified
Cheers
Arpit
https://arpitmscrmhunt.blogspot.in
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
Victor Onyebuchi
6