marcospereirampj / python-keycloak

MIT License
704 stars 297 forks source link

feat: Adding additional methods to support roles-by-id api calls #521

Closed geoffo-dev closed 6 months ago

geoffo-dev commented 7 months ago

Most of the methods rely on the role name within python keycloak, which for the vast majority is fine, however there are some role names which cannot be used by the API endpoint as they contain characters that cannot be encoded properly. Therefore this change is to allow the use of the role's id to get, update and delete roles by their id instead.

This also fixes a couple of formatting issues and allows some of the tox packages for building and checking the code to be enabled.