Re: [web2py] DId.app auth is good for web2py apps ?

2020-03-21 Thread Massimo Di Pierro
Did you get this to work. This is very valuable. I can help fix it during the week-end. Not going anywhere. ;-) On Friday, 13 March 2020 06:00:40 UTC-7, Kevin Keller wrote: > > You need to change your okta tenant URLs and the client Id and Secret. > > I still points to my tenant :) > > > > >

Re: [web2py] DId.app auth is good for web2py apps ?

2020-03-13 Thread Kevin Keller
You need to change your okta tenant URLs and the client Id and Secret. I still points to my tenant :) On Thu, Mar 12, 2020 at 3:05 PM Kevin Keller wrote: > This goes into your db.py and you also need to install okta_jwt via pip. > > I still haven figured it out how to terminate the session

Re: [web2py] DId.app auth is good for web2py apps ?

2020-03-12 Thread Kevin Keller
This goes into your db.py and you also need to install okta_jwt via pip. I still haven figured it out how to terminate the session in Okta and Web2py at the same time The redirect in the logout terminates the okta session but not the web2py one. For that you need session.forget and session.renew

Re: [web2py] DId.app auth is good for web2py apps ?

2020-03-12 Thread Kevin Keller
Okta_CLIENT_ID='0x' Okta_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 import OAuthAccount ## extend the OAUthAccount class class OktaAccount(OAuthAccount):

Re: [web2py] DId.app auth is good for web2py apps ?

2020-03-11 Thread António Ramos
Thank you Kevin , please share... Em qua., 11 de mar. de 2020 às 14:53, Kevin Keller escreveu: > Looks nice enough, though it is missing an easy way to configure scopes > and claims. > > It dont see it anywhere in their free account actually. > > I would probably rather advice to go with Auth0

Re: [web2py] DId.app auth is good for web2py apps ?

2020-03-11 Thread Kevin Keller
Looks nice enough, though it is missing an easy way to configure scopes and claims. It dont see it anywhere in their free account actually. I would probably rather advice to go with Auth0 or Okta. I work for Okta so that is why I have integrated web2py with Okta in a sample app. I can send you

[web2py] DId.app auth is good for web2py apps ?

2020-03-11 Thread António Ramos
DID is an Identity Provider, that authenticates users by verifying access to either an email address or securely stored private key. This gives users the ability to sign in with a single click without being tracked by the social login providers. It gives developers the ability