puiterwijk / flask-oidc

OpenID Connect support for Flask
BSD 2-Clause "Simplified" License
156 stars 218 forks source link

cannot "get" on a list - only on a dict #56

Closed scassella closed 6 years ago

scassella commented 6 years ago

When trying to initialize flask-oidc in my application, I am seeing this error: screen shot 2018-06-14 at 2 54 40 pm

When debugging, I can see in the source code for flask-oidc that the dict recieved from my client_secrets.json file is being converted to a list, then below the code is trying to access 'issuer' from that list. Since you cannot get key 'issuer' from a list of values, this is breaking the application.

screen shot 2018-06-14 at 2 53 01 pm

The application is using python 3.6.