# How to authenticate client using signed jwt with private key

**URL:** <https://devforum.okta.com/t/how-to-authenticate-client-using-signed-jwt-with-private-key/4580>\
**Category:** Questions\
**Created:** [March 20, 2019, 6:09pm UTC](https://devforum.okta.com/t/how-to-authenticate-client-using-signed-jwt-with-private-key/4580 "2019-03-20T18:09:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhartner](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@nhartner](https://devforum.okta.com/u/nhartner)\
**Post date:** [March 20, 2019, 6:09pm UTC](https://devforum.okta.com/t/how-to-authenticate-client-using-signed-jwt-with-private-key/4580/1 "2019-03-20T18:09:54Z")

</div>

I’m trying to figure out how to do an oauth2 client credential flow using the private\_key\_jwt auth method using a private key that I generate and use to encrypt my jwt. The well-known openid-configuration resource for my account indicates that private\_key\_jwt is supported: [https://dev-692258.okta.com/oauth2/default/.well-known/openid-configuration](https://dev-692258.okta.com/oauth2/default/.well-known/openid-configuration). But I don’t see anywhere in my Okta admin portal where I can provide my JWKS url so Okta can fetch my public key (or less ideal, somewhere to upload my public key). Is this feature supported?

---

<div class="post-metadata">

**Author:** ![dzeller](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dzeller/32/2790_2.png) [@dzeller](https://devforum.okta.com/u/dzeller)\
**Post date:** [March 20, 2019, 6:18pm UTC](https://devforum.okta.com/t/how-to-authenticate-client-using-signed-jwt-with-private-key/4580/2 "2019-03-20T18:18:05Z")

</div>

There is currently no UI option for this, but you can register your public keys using the API as a JWKS: [https://developer.okta.com/docs/api/resources/oauth-clients#client-application-properties](https://developer.okta.com/docs/api/resources/oauth-clients#client-application-properties). Okta does not currently support the jwks\_uri registration property.

---

<div class="post-metadata">

**Author:** ![nhartner](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@nhartner](https://devforum.okta.com/u/nhartner)\
**Post date:** [March 20, 2019, 7:07pm UTC](https://devforum.okta.com/t/how-to-authenticate-client-using-signed-jwt-with-private-key/4580/3 "2019-03-20T19:07:36Z")

</div>

Thanks. That gives me what I needed to know.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 17, 2024, 7:51pm UTC](https://devforum.okta.com/t/how-to-authenticate-client-using-signed-jwt-with-private-key/4580/4 "2024-01-17T19:51:32Z")

</div>

Closed on January 17, 2024, 7:51pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
