Mapping keycloak' s Identity Provider Links to client scopes

Hello,

I made a question on stackoverflow, about how to map the identity provider links to the token.

Thank you very much