# Encrypted Tokens from 3rd Party IDPs

**URL:** <https://forum.keycloak.org/t/encrypted-tokens-from-3rd-party-idps/7670>\
**Category:** Miscellanaeous\
**Tags:** identity-brokering, oidc\
**Created:** [March 1, 2021, 9:28pm UTC](https://forum.keycloak.org/t/encrypted-tokens-from-3rd-party-idps/7670 "2021-03-01T21:28:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommerw](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/tommerw/32/2501_2.png) [@tommerw](https://forum.keycloak.org/u/tommerw)\
**Post date:** [March 1, 2021, 9:28pm UTC](https://forum.keycloak.org/t/encrypted-tokens-from-3rd-party-idps/7670/1 "2021-03-01T21:28:51Z")

</div>

Hello,

Can someone tell me if Keylcloak supports OIDC with 3rd party Identity providers that encrypt their ID tokens using JWE.

I saw that keylcloak can encrypt its own tokens using a client-provided key pair but it’s not clear whether Keycloak supports upstream 3rd party IdPs that encrypt their data.

Thanks
