I was having the same problem with the latest web2py version (2.20.4) but
it had worked fine with an earlier version of web2py (2.16.1).
To make it work, I had to remove lines 1315 and 1316 in gluon/tools.py.
if token is None:
raise HTTP(400, 'JWT header not found and JWT parameter {} missing in
Maybe it's also required some Auth setting at db.py
https://github.com/robertop23/web2py_vuejs_vuetify/blob/master/models/db.py
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/l
When I try to use the code above with the @api_requires_login declared I am
receiving:
JWT header not found and JWT parameter _token missing in request
Even for functions without the decorator, like:
def token():
return myjwt.jwt_token_manager()
Any ideas why it is asking me this header?
Th
Thank you,
https://github.com/robertop23/web2py_vuejs_vuetify/blob/master/controllers/api.py
works for me!
On Mon, May 13, 2019 at 4:23 PM Val K wrote:
> https://github.com/web2py/web2py/blob/4a90c82ee4271b2a17c187d41138a03249c14350/gluon/tools.py#L1002
>
>
>
>
>
> https://github.com/robertop23
https://github.com/web2py/web2py/blob/4a90c82ee4271b2a17c187d41138a03249c14350/gluon/tools.py#L1002
https://github.com/robertop23/web2py_vuejs_vuetify/blob/master/controllers/api.py
On Monday, May 13, 2019 at 10:11:31 PM UTC+3, Tito Garrido wrote:
>
> Hi Guys!
>
> Is there any example using
5 matches
Mail list logo