[web2py] QuicknDirty How-To for SSO between web2py and py4web with KeyCloak

2020-08-31 Thread Kevin Keller
In web2py put this in your db.py: # Define oauth application id and secret. Kcloak_CLIENT_ID='' Kcloak_CLIENT_SECRET="X" ## import required modules try: import json except ImportError: from gluon.contrib import simplejson as json from gluon.contrib.login_methods.oauth20_account im

Re: [web2py] Re: Administration disable communication is insecure

2020-08-31 Thread Kevin Keller
You can either comment out the https requirement in the web2py framework https://sites.google.com/site/tabot99/home/web2py-disable-https-admin-access You will also comment out the same lines of code in the appadmin application. or setup web2py and nginx with letsencrypt certificates on your lin

[web2py] Re: Administration disable communication is insecure

2020-08-31 Thread Jim S
I believe it means that you're running http vs https and you're client is not running on the server (on a development machine for instance) To run Administration from a client other than the server host, you must use secure https protocol. Can someone please jump in if what I'm saying isn't cor

[web2py] Administration disable communication is insecure

2020-08-31 Thread Andrea Fae'
Often when I try to modify a record through application it happens this error: "amministrazione disabilitata: comunicazione non sicura" in english administration disabled: communication is insecure What does it means? What I have to do? thank you -- Resources: - http://web2py.com - http://we

[web2py] Re: login validation

2020-08-31 Thread Paco Bernal
Hi, I don't know about an "is_active" field in auth_user table, only regarding Record versioning, but I don't use it. Regards El lunes, 31 de agosto de 2020 a las 13:05:35 UTC+2, and...@gmail.com escribió: > I noted in the manual. But for your opinion what is the meaning about > is_active in

[web2py] Re: login validation

2020-08-31 Thread Andrea Fae'
I noted in the manual. But for your opinion what is the meaning about is_active in auth_user? Why is it useful? Thank you Il giorno lunedì 31 agosto 2020 08:46:15 UTC+2, Paco Bernal ha scritto: > > I meant registration_key :) > > http://web2py.com/books/default/chapter/29/09/access-control?search

[web2py] Re: About putting values into database

2020-08-31 Thread Andrea Fae'
thank you for your suggestions. I will try, and eventually. I will inform. thanks Il giorno sabato 29 agosto 2020 10:55:42 UTC+2, Dave S ha scritto: > > > > On Friday, August 21, 2020 at 7:33:54 AM UTC-7, Andrea Fae' wrote: > > >> [...] >> What is wrong? How to correct? >> Thank you >> > > I d

Re: [web2py] Re: fake_migrate=True is not working

2020-08-31 Thread Andrea Fae'
Now I understand. thank you so much Il giorno venerdì 28 agosto 2020 12:08:25 UTC+2, Jose C ha scritto: > > thank you Jim, but I don't understand... >> >> If I set >> migrate=False >> fake_migrate= True >> >> it means that web2py create the .table files without touching the db, >> isn'it? >> >>