# Certificate Pinning / OktaOidc

**URL:** <https://devforum.okta.com/t/certificate-pinning-oktaoidc/24408>\
**Category:** OAuth/OIDC\
**Created:** [May 31, 2023, 2:00pm UTC](https://devforum.okta.com/t/certificate-pinning-oktaoidc/24408 "2023-05-31T14:00:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@Nicolas](https://devforum.okta.com/u/Nicolas)\
**Post date:** [May 31, 2023, 2:00pm UTC](https://devforum.okta.com/t/certificate-pinning-oktaoidc/24408/1 "2023-05-31T14:00:13Z")

</div>

Hello,  
We are using OKTA Open Id Connect Library (OktaOidc SDK) in your IPAD application (developed in Swift) to handle OKTA authorization process. We want to implement certificate pinning to prevent MITM attack. Are there specific APIs to use in OktaOidc SDK or do we have to manage through URLSession ?  
We didn’t see anything relative to certificate pinning in OktaOidc SDK.  
Thanks

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 15, 2024, 5:38pm UTC](https://devforum.okta.com/t/certificate-pinning-oktaoidc/24408/2 "2024-02-15T17:38:08Z")

</div>

Closed on February 15, 2024, 5:38pm UTC


