I want to authenticate users of my app, I know how to do it using php on client but Electron can't use PHP at client side
Is there a way to authenticate users from mysql in Electron's app?
I need something like $_SESSION
(PHP)
Thanks for the help :D
First never authenticate on the client side. Always on server side. Use OAuth´s PHP Implementation or write you own implementation. Then simply use node´s native https request and return json from your server, PHP script. Please do a lot more research on application design and security.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.