Re: [web2py] py4wb simplification

2020-05-11 Thread Ben Lawrence
FYI automatic is on pypi now... https://pypi.org/project/Authomatic/ On Sunday, February 2, 2020 at 11:32:55 PM UTC-8, Kevin Keller wrote: > > Happy to support with the oidc/oauth2. > > Will share some code suggestions if that's ok with you > > On Mon, 3 Feb 2020, 05:56 Massimo Di Pierro, >

Re: [web2py] py4wb simplification

2020-02-09 Thread Massimo Di Pierro
Please do On Sunday, 2 February 2020 23:32:55 UTC-8, Kevin Keller wrote: > > Happy to support with the oidc/oauth2. > > Will share some code suggestions if that's ok with you > > On Mon, 3 Feb 2020, 05:56 Massimo Di Pierro, > wrote: > >> mtable is in scope and usable. Does not supprt yet fields

Re: [web2py] py4wb simplification

2020-02-02 Thread Kevin Keller
Happy to support with the oidc/oauth2. Will share some code suggestions if that's ok with you On Mon, 3 Feb 2020, 05:56 Massimo Di Pierro, wrote: > mtable is in scope and usable. Does not supprt yet fields of > list: type. > > Do not have a simple answer about OIDC/Oauth2 but I will try do it

Re: [web2py] py4wb simplification

2020-02-02 Thread Massimo Di Pierro
mtable is in scope and usable. Does not supprt yet fields of list: type. Do not have a simple answer about OIDC/Oauth2 but I will try do it and post findings. :-) On Sunday, 2 February 2020 03:43:40 UTC-8, Kevin Keller wrote: > > Hey, > > Regarding the now code . > > I think its awesome. > >

Re: [web2py] py4wb simplification

2020-02-02 Thread Kevin Keller
Hey, Regarding the now code . I think its awesome. Immediate question is though, how I could replace py4web build in auth with an outside IDM using OIDC/Oauth2? I understand since Py4web is so modular now, I can figure it out myself with 3rd party components. But I think it would be a common

[web2py] py4wb simplification

2020-01-31 Thread Massimo Di Pierro
I committed some new code to py4web Now you can do: from . common import authenticated, unauthenticated # from latest _scaffold # exposes index as /{app_name}/index and uses index.html or generic.html template, auth.user, db, T, session @authenticated() def index(): return dict() # GET