axios.create({ ..., withCredentials: true // does the trick
})
--
You received this message because you are subscribed to a topic in the Google Groups "py4web" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/py4web/xrRGdobEqvY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to py4web+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/af30606a-99b2-434f-8ad8-39c460378608%40googlegroups.com.
Thanks!Do you mean it works with py4web authentication?
Em sex., 3 de abr. de 2020 às 17:54, <valq...@gmail.com> escreveu:
I use axios like--
axios.create({...,withCredentials: true // does the trick})
- works fine
On Monday, March 30, 2020 at 5:34:02 PM UTC+3, yamand...@gmail.com wrote:I noticed in the documentation there is a rest api for auth and I also have read the sources to get a better idea of what happens.I can log in with axios through the auth rest api but what I haven't figured out yet is how to keep user authenticated.My app is being made with quasar, totally decoupled from py4web. The app in py4web is just a backend.What is a secure way to log in from a front end app to py4web app and keep user authenticated?For now I am storing user info in localStorage but I think this is too insecure and sensible.
You received this message because you are subscribed to a topic in the Google Groups "py4web" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/py4web/xrRGdobEqvY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to py4...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/af30606a-99b2-434f-8ad8-39c460378608%40googlegroups.com.
I mean this token:
Thanks!Do you mean it works with py4web authentication?
Em sex., 3 de abr. de 2020 às 17:54, <valq...@gmail.com> escreveu:
I use axios like--
axios.create({...,withCredentials: true // does the trick})
- works fine
On Monday, March 30, 2020 at 5:34:02 PM UTC+3, yamand...@gmail.com wrote:I noticed in the documentation there is a rest api for auth and I also have read the sources to get a better idea of what happens.I can log in with axios through the auth rest api but what I haven't figured out yet is how to keep user authenticated.My app is being made with quasar, totally decoupled from py4web. The app in py4web is just a backend.What is a secure way to log in from a front end app to py4web app and keep user authenticated?For now I am storing user info in localStorage but I think this is too insecure and sensible.
You received this message because you are subscribed to a topic in the Google Groups "py4web" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/py4web/xrRGdobEqvY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to py4...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/af30606a-99b2-434f-8ad8-39c460378608%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to py4web+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/c16aa959-b329-4479-8824-dea8f72515b3%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "py4web" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/py4web/xrRGdobEqvY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to py4web+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/ff87389e-478b-41d3-a0ae-06fc6e1ddf79n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/CAGsD4NxsYcAe3WKMWMQNeWmb%2BzygppC6VoEpuhMBW8C0GfYTyw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/CAGsD4Nw8s5ay5YcCTt3D%2B1cE7J3mn0x%2BDL6FG6Ue0%2B18LWzgQQ%40mail.gmail.com.