On Thursday, April 20, 2017 at 2:57:44 AM UTC-7, Oasis Agano wrote: > > > The only challenge im facing is the needed customization on the W2P side > to allow the the app to login, and the route to use inside the mobile app > to pass the login credentials. > If someone can share a segment of the code it can be helpful. > Thanks. > > Discussed in the other thread (maybe even answered).
/dps > On Tuesday, April 18, 2017 at 12:25:38 AM UTC+2, Dave S wrote: >> >> >> >> On Monday, April 17, 2017 at 1:16:49 PM UTC-7, Oasis Agano wrote: >>> >>> You mean that it doesnt require modifying core Web2py code? or adding >>> other codes inside your controller? because what i want is actually logging >>> in and storing a token returned by w2p. >>> >>> >> It is already part of web2py core, in all 2.14.x versions (and maybe some >> 2.13.y versions). >> I haven't actually used it, but the doc comment in tools.py seems to be a >> very good explanation. >> (I've done some other reading on JWT -- Niphlod posted the link to the >> RFC, for instance -- and >> know of its use for helping to secure OAuth2.) >> >> I think a couple of other users have posted here that they used it now >> that it's built-in. >> >> /dps >> >> >> >>> On Monday, April 17, 2017 at 10:05:53 PM UTC+2, Dave S wrote: >>>> >>>> >>>> >>>> On Monday, April 17, 2017 at 4:18:48 AM UTC-7, Oasis Agano wrote: >>>>> >>>>> Hello, >>>>> Can someone create a web2pyslice explaining how to do it and what to >>>>> change in web2py gluon in order to connect an android native app to it. >>>>> 4 years later people(e.g: me, my colleagues...) are still facing the >>>>> same issue and i think it can be helpful to the community. >>>>> >>>> >>>> Have you looked at using JWT? Documentation is mainly gluon/tools.py, >>>> although Niphlod wrote here a little about its use when he coded it a >>>> couple of years ago. >>>> >>>> /dps >>>> >>>> >>>> >>>>> On Wednesday, October 15, 2014 at 3:48:02 AM UTC+2, Mark Li wrote: >>>>>> >>>>>> Hey Mark, >>>>>> >>>>>> I did finish this, although it's been some time since I've looked >>>>>> into the code for the mobile-related stuff. Most of it still makes sense >>>>>> to >>>>>> me >>>>>> >>>>>> On Friday, October 10, 2014 1:31:09 PM UTC-7, Mark Graves wrote: >>>>>>> >>>>>>> Did you ever finish this? >>>>>>> >>>>>>> I implemented something similar. >>>>>>> >>>>>>> I'd love to collaborate and get a repo up for working with mobile >>>>>>> devices with web2py as an app back end. >>>>>>> >>>>>>> On Sunday, January 6, 2013 11:43:05 AM UTC-6, dlypka wrote: >>>>>>>> >>>>>>>> If you mimic the same http traffic that a browser would generate, >>>>>>>> then of course you will get all the normal web2py functionality such >>>>>>>> as the >>>>>>>> session. >>>>>>>> >>>>>>>> The web2py session is usually stored in the database which means it >>>>>>>> can store a large amount of data without the size limits of cookie >>>>>>>> storage. >>>>>>>> And it will persist between requests. >>>>>>>> >>>>>>>> [...] >>>>>>>> >>>>>>> >>>> >>> -- 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.