fspijkerman / dash-okta-auth

Dash Okta Authentication
MIT License
2 stars 11 forks source link

TypeError: Dash() got an unexpected keyword argument 'auth' #1

Open BenMacKenzie opened 5 years ago

BenMacKenzie commented 5 years ago

i'm using a virtual env and installing from the requirements.txt file.

application will run if i remove auth='auth' but then I get an error from Okta:

"Description: The 'redirect_uri' parameter must be an absolute URI that is whitelisted in the client app settings."

I'm following https://github.com/okta/samples-python-flask/tree/master/okta-hosted-login to set up the app on Okta (only difference a use of port 8050 for call back). The link to okta set up for flask-dance does not work btw.

any ideas?

thanks!!

fspijkerman commented 5 years ago

Thanks for bringing this to my attention, it seems that flask-dance removed support for Okta in their master. (https://github.com/singingwolfboy/flask-dance/issues/263), I will look into this.

Which version of Dash are you using?

BenMacKenzie commented 5 years ago

looks like it's 1.1.1

fspijkerman commented 5 years ago

I haven't tested it with 1.1.1, last tested version I have is 0.43.0 (latest prior v1.0.0).

Will make some time this week to test and update to 1.1.1.

BenMacKenzie commented 5 years ago

awesome! thanks!

nicohein commented 4 years ago

please see #2