[Idea] Autologin backoffice Prestashop 1.7.8 #36144
joelcampan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
Hi everyone,
I would like to propose the idea of implementing an autologin feature in PrestaShop 1.7.8. I have been looking for information on this topic and have found a module that could be useful: https://github.com/ExpressTech/auto-login-backoffice-prestashop-module
However, I have tried this module and have not been able to get it to work properly. When I activate it, it redirects me to the PrestaShop login form instead of logging me in automatically.
Has anyone else tried this module or have any other suggestions on how to implement this feature?
What do you think?
I would love to hear your ideas and suggestions on how to implement a secure and effective autologin feature in PrestaShop 1.7.8. Any input or previous experience in this area would be greatly appreciated.
Thank you for your attention and I look forward to your comments.
Sincerely,
The solution
A possible solution could be code similar to this.
Previously passing a token as a parameter in the URL and comparing whether that token is valid in a verification file.
header("Location: https://example.com/adminprestashop/");
Alternatives
As an alternative, we could explore the possibility of linking the backoffice administrator user account with a Google account. This way, users could log in using their Google credentials, eliminating the need to remember and type in their PrestaShop credentials.
Additional context
No response
Do you plan to work on this subject?
Beta Was this translation helpful? Give feedback.
All reactions