Thank you for your useful answer but how do i pass the username and password
because curl with them returns: *Invalid JWT header*
when i try to get the login_and_take_token function.

kr,

Oasis




On Friday, June 23, 2017 at 11:09:43 PM UTC+2, Dave S wrote:
>
>
>
> On Friday, June 23, 2017 at 1:49:17 PM UTC-7, Oasis Agano wrote:
>>
>> Hello,
>>
>> How can someone implement a token based authentication in web2py;
>> Both token generation and authorization?
>>
>>
> gluon/tools.py line 1132 covers the JWT support Niphlod added.
> (line 1132 in version 2.14.6, that is)
> Nothing in the book yet; the short version of the introduction was in the 
> release notes (one or more of the 2.14's, IIRC).
>
> /dps
>  
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to