mayope / keycloakmigration

Manage your Keycloak configuration with code.
https://mayope.net
MIT License
108 stars 22 forks source link

Keycloak 14 compatibility and more necessary features #30

Closed haraldsegliens closed 3 years ago

haraldsegliens commented 3 years ago

Found this keycloak configuration tool. Works very well for me. Unfortunately everything is not perfect, therefore contributed some fixes/features so that I can benefit from this tool.

  1. Made the tool work with Keycloak 14. defaultRoles -> defaultRole change had be made.
  2. Realm's theme configuration
  3. Required action configuration
  4. Config parameter for flow executions
  5. protocolMappers parameter for clientScope
  6. configure any user federation not only for LDAP

Problems that still need to be solved are:

klg71 commented 3 years ago

Hey harald thanks for contributing :) ♥

I guess we can release the version with a note that its only compatible with version 13.0 upwards (thats where the defaultRoles change occured imho). For documentation you have to install the hugo(https://gohugo.io/) static weg page renderer, put it in path and then you can execute the gradle task :docsbuild:buildDocs. That puts the rendered documentation into the docs folder for you to inspect. This folder is also comitted so that github pages can render the contents of this directory.

haraldsegliens commented 3 years ago

Fixed minor issues that have been raised. Updated integration tests that verify correctness of the changes. While I was testing the changes, noticed that UpdateRealm action doesn't update defaultRole parameter, therefore removed the parameter. So probably this tool is still compatible with Keycloak 12 and less. Also update documentation.

klg71 commented 3 years ago

Did some really minor adjustments and released it with version 0.2.21 please confirm it works :) Thanks for contributing and up to the next time :)

haraldsegliens commented 3 years ago

Tested 0.2.21 keycloakmigration tool. I confirm that it works.