Mapping multiple social Accounts to same keycloak user calling services securured by these providers

Hi all,
consider the following situation:
a) Users have accounts at google
b) Same Users have accounts for ms azure (or github, …)
c) I have a client that consumes services from google and azure

how to ensure a single login for a user (be google or azure) and
call the google service for e.g. for “geolocation” followed by azure call e.g. for NLP sentiment service. Respecting the users security assertions.

Regards
Thomas

If the user has set up those federated accounts, you can then retrieve the tokens from those using the following method:

https://www.keycloak.org/docs/latest/server_admin/index.html#retrieving-external-idp-tokens