简体   繁体   中英

Keycloak social login rest api

I have enabled google social login for my keycloak instance, but I need to use it as a rest service.

Is there endpoint that can be used to do this?

There is no Google authentication API in the Keycloak but you can solve it with Token Exchanging .

  1. You need first authenticate with Google API and get an external token,

  2. External Token to Internal Token Exchange.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM