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?
Thank you!
Tito
On Tue, May 14, 2019 at 3:15 PM Tito Garrido <[email protected]> wrote:
> 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 <[email protected]> wrote:
>
>> 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 authapi + jwt in any documentation?
>>>
>>> Thank you!
>>>
>>> Tito
>>>
>>> --
>>>
>>> Linux User #387870
>>> .........____
>>> .... _/_õ|__|
>>> ..º[ .-.___.-._| . . . .
>>> .__( o)__( o).:_______
>>>
>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/web2py/97e19835-dce8-499d-aa2b-140641f862fa%40googlegroups.com
>> <https://groups.google.com/d/msgid/web2py/97e19835-dce8-499d-aa2b-140641f862fa%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
>
--
Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/CAL67CHGjBp5dcns%3DaDRNFiVo-ah8RAhSKmnnEc4DA4-PdyTGvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.