Tips for developing Keycloak extensions

875 views
Skip to first unread message

Lee Surprenant

unread,
Feb 11, 2021, 8:53:02 AM2/11/21
to Keycloak Dev
I have a few simple Keycloak extensions that I manage and I'm looking for best practices wrt development and testing.

I found https://www.keycloak.org/docs/latest/server_development/#_providers which seems to be good reference material, but doesn't suggest any particular workflow / pattern for development or test.

I found https://github.com/thomasdarimont/keycloak-extension-playground which was very handy for getting started.  However, I don't see any corresponding tools for automating tests.

Is there a good reference, from either the keycloak repo or elsewhere, on best practices for extension development and testing?

Thomas Darimont

unread,
Feb 11, 2021, 10:01:37 AM2/11/21
to Lee Surprenant, Keycloak Dev
Hi Lee,

There is a testcontainers extension for Keycloak that allows writing integration tests for Keycloak in an easy way. 

Take a look at

Cheers,
Thomas

--
You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-dev/734e42b8-1c15-41d8-9d5b-2f52ecb6da2fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages