79233947

Date: 2024-11-28 12:50:26
Score: 0.5
Natty:
Report link

To update on this question for anyone that comes after, recently there is a feature in Keycloak that allows to authenticate with the Google token on Keycloak API. It's called Token Exchange.

This is currently a preview feature, so it needs to be enabled by passing some feature flags --features=token-exchange,admin-fine-grained-authz

You can read more about it in this issue in Github, where everything is explained in more detail.

Then just enable token exchange on Keycloak and send the token to the keycloak endpoint /realms/{realm-name}/protocol/openid-connect/token

Reasons:
  • Blacklisted phrase (1): update on this
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: therock24