Skip to content
Discussion options

You must be logged in to vote

Hi @sberyozkin

I was able to exchange to a Google token using Keycloak. To do this, I created a Realm, and inside it I created a client and an identity provider (Google). Inside the Identity Provider, I enabled the Token Exchange permission and added a Policy to allow the Client that was created to perform the Token Exchange.

With this configuration done, I set up my Quarkus application as follows:

# Configure OIDC
quarkus.oidc.auth-server-url=${KEYCLOAK_URL}
quarkus.oidc.client-id=${KEYCLOAK_CLIENT_ID}
quarkus.oidc.credentials.secret=${KEYCLOAK_CLIENT_SECRET}

# Configure OIDC Client
quarkus.oidc-client.auth-server-url=${quarkus.oidc.auth-server-url}
quarkus.oidc-client.client-id=${quark…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@maxandersen
Comment options

@sberyozkin
Comment options

@costvin15
Comment options

Answer selected by costvin15
@sberyozkin
Comment options

@costvin15
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants