https://kotlinlang.org logo
#http4k
Title
# http4k
z

zero_coding

09/02/2020, 12:50 PM
Hi all Does it exist a sample, how to use OAuth with Keycloak?
s

s4nchez

09/02/2020, 1:02 PM
@zero_coding not that I'm aware of. The example in the docs use Google (https://www.http4k.org/guide/modules/oauth/), but using other services should be a case of just adjusting the provider parameters. Here are the ones we currently defined https://github.com/http4k/http4k/blob/master/http4k-security-oauth/src/main/kotlin/org/http4k/security/oauthProviders.kt , and we'd be happy to accept a PR if you want to include Keycloak to that list.
z

zero_coding

09/02/2020, 1:44 PM
@s4nchez If I have got it, then I will do it.
👍 1
34 Views