# Consuming a service from another app

**URL:** <https://community.auth0.com/t/consuming-a-service-from-another-app/114971>\
**Category:** Get Help\
**Tags:** connection-provisioning-flows, connections\
**Created:** [August 29, 2023, 4:06pm UTC](https://community.auth0.com/t/consuming-a-service-from-another-app/114971 "2023-08-29T16:06:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nermin.tanovic](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@nermin.tanovic](https://community.auth0.com/u/nermin.tanovic)\
**Post date:** [August 29, 2023, 4:06pm UTC](https://community.auth0.com/t/consuming-a-service-from-another-app/114971/1 "2023-08-29T16:06:14Z")

</div>

hi. I have two applications under same tennant. app A needs top consume the web service from app B. how can I authenticate user between my service and client? I need to be able to do that silently in C#. thank you.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [August 31, 2023, 11:24pm UTC](https://community.auth0.com/t/consuming-a-service-from-another-app/114971/3 "2023-08-31T23:24:35Z")

</div>

Hello @nermin.tanovic !

> [@nermin.tanovic](#):
>
> how can I authenticate user between my service and client?

This is typically achieved using an [access token](https://auth0.com/docs/secure/tokens/access-tokens) - For example, you might have a SPA application that a user authenticates to while using an audience of the web service ([API in Auth0](https://auth0.com/docs/get-started/auth0-overview/set-up-apis)). Once the user has successfully authenticated, you would use this access token as a means to call your web service. Our [architecture scenario documentation](https://auth0.com/docs/get-started/architecture-scenarios) does a good job at providing a high level overview of this and other common architectures.

> [@nermin.tanovic](#):
>
> I need to be able to do that silently in C#

Once the user has authenticated and your app has an access token, as long as it’s valid you can use it to call your service. You might want to look into [silent authentication](https://auth0.com/docs/authenticate/login/configure-silent-authentication) to the least intrusive in terms of requiring user input as possible.

While I’m not sure .NET fits your use case or you’re using C# outside of any framework, Auth0 does offer a .NET [SDK](https://auth0.com/docs/libraries) and there a handful of .NET libraries to validate access tokens available [here](https://jwt.io/libraries?language=.NET).

Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 14, 2023, 11:25pm UTC](https://community.auth0.com/t/consuming-a-service-from-another-app/114971/4 "2023-09-14T23:25:05Z")

</div>

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