You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples all create a list of endpoints, then call provider.endpoints = endpoints. For example in op3
But oic.oid.provider.Provider does not have any attribute of that name, only a method called endpoints() that gets overriden. The variable used in the class is called oic.oic.Provider.endp.
So probably the endpoints should be added to that variable instead of overwriting the method with a list.
The text was updated successfully, but these errors were encountered:
But oic.oid.provider.Provider does not have any attribute of that name, only a method called endpoints() that gets overriden.
That sounds bad!
So probably the endpoints should be added to that variable instead of overwriting the method with a list.
I'll edit the title to reflect that, sounds like a good idea.
decentral1se
changed the title
Examples endpoint setup is strange
Use oic.oic.Provider.endp instead of dynamic provider.endpoints in examples
Jun 6, 2017
The examples all create a list of endpoints, then call
provider.endpoints = endpoints
. For example in op3But
oic.oid.provider.Provider
does not have any attribute of that name, only a method calledendpoints()
that gets overriden. The variable used in the class is calledoic.oic.Provider.endp
.So probably the endpoints should be added to that variable instead of overwriting the method with a list.
The text was updated successfully, but these errors were encountered: