On Wednesday, April 5, 2017 at 12:13:46 PM UTC-7, Massimo Di Pierro wrote:
>
> there is a pending PR that will expose an API. One approach is to do it 
> manually as follows:
>
> 1) App POSTs username/password which uses web2py auth.login_bare(....)
> 2) store the user id (and only the user id) in a session
> 3) configure web2py to store the session in an encrypted cookie so no 
> server disk IO
> 4) retrieve and user id from session and retrieve the full user from DB 
> only when needed.
>
> web3py will have built-in client and server code to handle login from apps 
> and perhaps we can backport to web2py.
>  
>
Massimo
>
>  
Are steps 2-4 significantly different from JWT support?

/dps

 

>
> On Saturday, 1 April 2017 00:35:25 UTC-5, PK wrote:
>>
>> how can i register from mobile app rest client to web2py???
>>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to