Closed fherrera124 closed 2 years ago
With this patch, if the realm_access section is missing in the access token, then:
user=idp.get_current_user(...) print(user.roles)
will raise an exception describing the error. The current behavior is:
.... return self.realm_access["roles"] TypeError: 'NoneType' object is not subscriptable ....
With this patch, if the realm_access section is missing in the access token, then:
will raise an exception describing the error. The current behavior is: