# API dotnet with user Right

**URL:** <https://devforum.okta.com/t/api-dotnet-with-user-right/24735>\
**Category:** API\
**Tags:** dotnet, api, oauth\
**Created:** [July 3, 2023, 8:24am UTC](https://devforum.okta.com/t/api-dotnet-with-user-right/24735 "2023-07-03T08:24:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexandreUnca](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@AlexandreUnca](https://devforum.okta.com/u/AlexandreUnca)\
**Post date:** [July 3, 2023, 8:24am UTC](https://devforum.okta.com/t/api-dotnet-with-user-right/24735/1 "2023-07-03T08:24:48Z")

</div>

Hello,  
I am builder a Angular + dotnet core api app.

I pass the token jtw to the api to secure the end point.

I want my API to have only the right that the user has.

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/f/f3d3b36d67f0c9c48933cea8536b5930f50effd8.png)

When i am doing this, I pass the jtw that the api have but this dont work because this is the authentication token on the authentication api.

How can I set the configuration so the app has the right that my user has on my okta domain ( on group and user management)

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:56pm UTC](https://devforum.okta.com/t/api-dotnet-with-user-right/24735/2 "2024-02-15T17:56:44Z")

</div>

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


