[keycloak-user] How to have identity provider configuration page visible in Keycloak?
Nicolas Delsaux
nicolas.delsaux at gmx.fr
Thu Oct 11 08:41:37 EDT 2018
Hi all,
I'm writing a custom identity provider for Keycloa that I want to deploy
using the [deployer][1] method (since I want to deploy it in [Docker
containers][2]). Following an [example][3] I found on the web, I've
created a maven project where, using the maven-assembly-plugin, I build
a jar with dependencies (but I've filtered out the various services
implementations my dependencies provide me to just keep the identity
provider service).
Things seems to work partly correctly :
* Keycloak log indicates my id provider is loading/loaded :
`keycloak_1 | 09:23:20,056 INFO [org.jboss.as.server]
(ServerService Thread Pool -- 29) WFLYSRV0010: Deployed
"mycompnay-oidc-id-provider-0.0.1-SNAPSHOT-jar-with-dependencies.jar"
(runtime-name
:"mycompany-oidc-id-provider-0.0.1-SNAPSHOT-jar-with-dependencies.jar")`
* When I go in the *Identity Providers* panel, the new provider is
visible in the "Add provider ..."
But when I try to configure it, Keycloak redirects me to the resource
not found error page
The problem is that Keycloak outputs strictly no logs (even when I
configure log level to the max).
In my project, I have he following code organization (which gets
replicated in jar-with-dependencies)
+---src
+---build
| \---assembly
+---main
| +---java
| | \---com
| | \---mycompany
| | \---mygroup
| | \---security
| | \---oidc
| \---resources
| +---META-INF
| | \---services
| \---themes
| \---base
| \---admin
| \---resources
| \---partials
\---test
+---java
\---resources
What am I missing ?
I've already asked this question on StackOverflow (there
https://stackoverflow.com/q/52757115/15619) - and that's why the
formatting is quite poor, but Sebastien Blanc redirected me here (thanks
a lot Sebastien !)
Thanks a lot !
[1]:
https://www.keycloak.org/docs/4.5/server_development/index.html#using-the-keycloak-deployer
[2]: https://hub.docker.com/r/jboss/keycloak/
[3]: https://github.com/Reventl0v/KeycloakCAS
More information about the keycloak-user
mailing list