PhilanthropyDataCommons / auth

PDC related extensions that were made for the keycloak auth service
1 stars 1 forks source link

Update to work with Keycloak 22 #28

Closed bickelj closed 7 months ago

bickelj commented 1 year ago

Keycloak now uses Java 17 and the re-namespaced JAX-RS dependencies. Update imports and libraries such that methods are found by Keycloak.

Issue https://github.com/PhilanthropyDataCommons/auth/issues/27 Compile libraries against recent Keycloak

bickelj commented 1 year ago

While the first commit isn't exactly related, the purpose of it being in this branch is to make sure the build occurs successfully both before and after (the next commit) for all the jars.

bickelj commented 1 year ago

I built from b26d705. Using the README guide, I verified that the shadow jar has only the expected directories. I copied the two new jars (and the old theme jar) to the new Keycloak 22 test server providers directory, ran Keycloak there, pointed to it via my hosts file, did the login flow once from .../account and once from the test API swagger site, and the flow with SMS code all seemed to work without hiccup.

bickelj commented 7 months ago

These changes are now live in the production auth server.