What are the current files that would need to be fixed to be pyjwt 2 compatible?
auth and form no? Anything else? [image: cloudHQ] <https://www.free-email-tracker.com> Powered by cloudHQ <https://www.free-email-tracker.com> Am Mo., 1. März 2021 um 09:02 Uhr schrieb Nico Zanferrari < nicoz...@gmail.com>: > BTW, > > in fact JWT is cited here : > https://py4web.com/_documentation/static/en/chapter-04.html#sessions - > and I'm even currently working for expanding it ;-) > > Nico > > Il giorno ven 26 feb 2021 alle ore 19:55 Richard Vézina < > ml.richard.vez...@gmail.com> ha scritto: > >> Thanks >> >> On Fri, Feb 26, 2021 at 1:43 PM Kevin Keller <keller...@gmail.com> wrote: >> >>> Look for the email thread with the following title in the py4web google >>> group and you ll find a way: >>> >>> Sample Code simple JWT Auth for pydal API >>> >>> >>> in the >>> >>> >>> [image: cloudHQ] <https://www.free-email-tracker.com> Powered by >>> cloudHQ <https://www.free-email-tracker.com> >>> >>> Am Fr., 26. Feb. 2021 um 19:39 Uhr schrieb Richard Vézina < >>> ml.richard.vez...@gmail.com>: >>> >>>> UP! >>>> >>>> Is py4web has jwt token mechanism?? >>>> >>>> Evaluating py4web currently (yes getting back to good stuff loved >>>> web2py and pydal)... >>>> >>>> I would need py4web to support jwt (https://jwt.io/). I recall that >>>> been implement in web2py >>>> >>>> Not found anything in the doc about it : >>>> https://py4web.com/_documentation/static/en/chapter-11.html >>>> >>>> Thanks >>>> >>>> Richard >>>> >>>> On Thu, Feb 20, 2020 at 2:19 PM Val K <valq7...@gmail.com> wrote: >>>> >>>>> As I know py2web already stores _session_token as jwt, no? >>>>> >>>>> On Thursday, February 20, 2020 at 10:00:00 PM UTC+3, Kevin Keller >>>>> wrote: >>>>>> >>>>>> With a Spa the routing is done in Javascript in the Browser. >>>>>> >>>>>> So Javascript or Vue / React etc need. To check if the user has a >>>>>> access or id_token and if not redirect to the login page to obtain it. >>>>>> >>>>>> Doing crud and be able to secure those crud rest routes will be >>>>>> critical for productivity. >>>>>> >>>>>> So we need a simple jwt token minting engine that at least can spit >>>>>> out a access token for prototyping and and easy way to switch over to >>>>>> other >>>>>> IAM solutions with py4web for production that can do the token minting. >>>>>> >>>>>> That is something I am currently working on the whole oidc auth part >>>>>> make it easy and I also want to make it available for web2py. >>>>>> >>>>>> I have updated and got the oauth2 login provider working with Okta >>>>>> yesterday and web2py. >>>>>> >>>>>> Will share this. Code asap and sent a push to git to have that >>>>>> provider updated and at some providers for different IAM solutions for >>>>>> both >>>>>> web2py and py4web going forward. >>>>>> >>>>>> Will try to share an example with py4web asap once I have something >>>>>> working. >>>>>> >>>>>> Will probaly be on the. Weekend. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Thu, 20 Feb 2020, 10:42 Val K, <valq...@gmail.com> wrote: >>>>>> >>>>>>> check request.content_type - is that 'application/json' ? >>>>>>> >>>>>>> On Thursday, February 20, 2020 at 9:28:43 PM UTC+3, Ramos wrote: >>>>>>>> >>>>>>>> getting this from py4web as an api. >>>>>>>> [image: image.png] >>>>>>>> Is not what i would like to see from a SPA standpoint. >>>>>>>> >>>>>>>> Regards >>>>>>>> António >>>>>>>> >>>>>>>> >>>>>>>> Em qui., 20 de fev. de 2020 às 18:03, Val K <valq...@gmail.com> >>>>>>>> escreveu: >>>>>>>> >>>>>>>>> It seems it depends on request.content_type >>>>>>>>> >>>>>>>>> https://github.com/web2py/py4web/blob/e6b3d5e10e15976af153c4a4e6b349a02fe6c2a9/py4web/utils/auth.py#L35 >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 web...@googlegroups.com. >>>>>>>>> To view this discussion on the web visit >>>>>>>>> https://groups.google.com/d/msgid/web2py/9608a9ab-d338-4580-9d02-31b9b9a30782%40googlegroups.com >>>>>>>>> . >>>>>>>>> >>>>>>>> -- >>>>>>> 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 web...@googlegroups.com. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/web2py/77ac539d-a83e-4931-ae79-424c3a4711fd%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/web2py/77ac539d-a83e-4931-ae79-424c3a4711fd%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>> -- >>>>> 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. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/web2py/1e3387f6-bf14-406f-9c6b-306a06630961%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/web2py/1e3387f6-bf14-406f-9c6b-306a06630961%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> 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. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/web2py/CAKk5xSzm%3DeCCd24Z0ZXF%3DtikA5Z_GXUet1SDGeEMPGVH%3DdRt1A%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/web2py/CAKk5xSzm%3DeCCd24Z0ZXF%3DtikA5Z_GXUet1SDGeEMPGVH%3DdRt1A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> 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. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/web2py/CADHCKLSoHnK-20XDA29kQr8MEN%2BLUHh-uw%2BaMu64443GiRi2KA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/web2py/CADHCKLSoHnK-20XDA29kQr8MEN%2BLUHh-uw%2BaMu64443GiRi2KA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/web2py/CAKk5xSzOTA%2Bnu7PVZhRttEGmfA6h2KTV9evWn30FWXbLA9POMw%40mail.gmail.com >> <https://groups.google.com/d/msgid/web2py/CAKk5xSzOTA%2Bnu7PVZhRttEGmfA6h2KTV9evWn30FWXbLA9POMw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/CAAE8D_CRcCq0vEHwr346pKBEVS43Ys03NMPNDo5QBk7efZiDkQ%40mail.gmail.com > <https://groups.google.com/d/msgid/web2py/CAAE8D_CRcCq0vEHwr346pKBEVS43Ys03NMPNDo5QBk7efZiDkQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CADHCKLQZecGjP0NQXnvj0XZpDqWzjR%2BGjSc7uAY1FwL4ne_Ekg%40mail.gmail.com.