Copy all the claim from external identity provider

Hi there, thanks for accepting me.
we are using keycloack as broker for external Identity provider OAuth.
So application redirec to keycloack, that authenticate against the external provider who send back a JWT. Keycloack process this JWT and get back to our application.
We are wondering if there is a way to have all the token copied from the original JWT to our jwt send by keycloak to our application.

to get the original external token, take a look at retrieving-external-idp-tokens

To copy claims, if that i’ts what you want, you can use Identity Provider mappers: Mapping claims and assertions

great, I think that retreiving external id tocken is what I was looking for since all claims I need are included in the external JWT.
Thanks a lot