# Safety recommendations for using flask\_tryton on a custom app

**URL:** https://discuss.tryton.org/t/safety-recommendations-for-using-flask-tryton-on-a-custom-app/1380
**Category:** Developer
**Tags:** flask
**Created:** [May 8, 2019, 4:55pm UTC](https://discuss.tryton.org/t/safety-recommendations-for-using-flask-tryton-on-a-custom-app/1380 "2019-05-08T16:55:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![iehoshia](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/iehoshia/32/243_2.png) [@iehoshia](https://discuss.tryton.org/u/iehoshia)
#### Post date: [May 8, 2019, 4:55pm UTC](https://discuss.tryton.org/t/safety-recommendations-for-using-flask-tryton-on-a-custom-app/1380/1 "2019-05-08T16:55:01Z")

</div>

Hi,

I’m developing a custom web app using flask\_tryton and web\_user module, that provides the most part of required info to manage register, reset password, confirm\_email, authenticate and so on. The question is which is better to manage session: is better to use sessions or there is a way to use jwt? By the way, is there an avaiable method to use load\_user\_from\_token? Another question is how to use flask\_login with tryton?

Thanks in advance!
