# DPoP with Okta Service App in C#

**URL:** <https://devforum.okta.com/t/dpop-with-okta-service-app-in-c/29868>\
**Category:** OAuth/OIDC\
**Tags:** dotnet\
**Created:** [August 6, 2024, 8:31am UTC](https://devforum.okta.com/t/dpop-with-okta-service-app-in-c/29868 "2024-08-06T08:31:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashvin](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@Ashvin](https://devforum.okta.com/u/Ashvin)\
**Post date:** [August 6, 2024, 8:31am UTC](https://devforum.okta.com/t/dpop-with-okta-service-app-in-c/29868/1 "2024-08-06T08:31:58Z")

</div>

Is it possible to get access token using Okta service app when DPoP enabled. If yes then how can we implement it in .net C# to get access token using Pem key of service App with DPoP enabled.

---

<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:** [August 6, 2024, 3:30pm UTC](https://devforum.okta.com/t/dpop-with-okta-service-app-in-c/29868/2 "2024-08-06T15:30:04Z")

</div>

Presuming you’re asking about a [Service App that needs to get tokens that will be used against Okta’s APS](https://developer.okta.com/docs/guides/implement-oauth-for-okta-serviceapp/main/), [v8.0.0+](https://github.com/okta/okta-sdk-dotnet/releases/tag/v8.0.0) of our .NET Management SDK supports DPoP

---

<div class="post-metadata">

**Author:** ![Ashvin](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@Ashvin](https://devforum.okta.com/u/Ashvin)\
**Post date:** [August 9, 2024, 8:04am UTC](https://devforum.okta.com/t/dpop-with-okta-service-app-in-c/29868/3 "2024-08-09T08:04:08Z")

</div>

No this flow is without DPop enabled. I want scenario where Dpop enabled for service App.

---

<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:** [August 9, 2024, 3:30pm UTC](https://devforum.okta.com/t/dpop-with-okta-service-app-in-c/29868/4 "2024-08-09T15:30:19Z")

</div>

I don’t follow, why does the SDK not address your use case? Maybe you can provide more details about the use case you are looking to support?

---

<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:** [September 8, 2024, 3:31pm UTC](https://devforum.okta.com/t/dpop-with-okta-service-app-in-c/29868/5 "2024-09-08T15:31:02Z")

</div>

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