# Distributed application supported

**URL:** <https://community.auth0.com/t/distributed-application-supported/96827>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, auth0-react\
**Created:** [December 20, 2022, 4:16pm UTC](https://community.auth0.com/t/distributed-application-supported/96827 "2022-12-20T16:16:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rationem](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rationem/32/13366_2.png) [@rationem](https://community.auth0.com/u/rationem)\
**Post date:** [December 20, 2022, 4:16pm UTC](https://community.auth0.com/t/distributed-application-supported/96827/1 "2022-12-20T16:16:22Z")

</div>

Does Auth0 support authentication and authorising in a distributed application?  
Front end running serverside React app for UI components on domain [a.com](http://a.com) and back end business logic on a node app running on domain [b.com](http://b.com). The node app needs to know the user credentials and role.  
If this is supported is there a tutorial/ documentation ?

Thanks

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [December 21, 2022, 1:54am UTC](https://community.auth0.com/t/distributed-application-supported/96827/3 "2022-12-21T01:54:22Z")

</div>

Hi @rationem,

Thanks for reaching out to the Auth0 Community!

I understand you would like to know if Auth0 Supports authentication and authorization.

Yes, we offer both authentication and authorization in the Auth0 Product. I recommend checking out our [Auth0 React SDK Quickstarts: Add Login to your React App](https://auth0.com/docs/quickstart/spa/react/interactive) which has an example application and a guide on adding authentication using our Auth0 React SDK.

I would also recommend reading the following resources regarding authorization:

- [Configure Core Authorization Features for Role-Based Access Control](https://auth0.com/docs/manage-users/access-control/configure-core-rbac)
- [How do I assign Permissions to users?](https://community.auth0.com/t/how-do-i-assign-permissions-to-users/72278#how-do-i-add-permissions-to-roles-4)

Please let me know if there’s anything else I can do to help.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![rationem](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rationem/32/13366_2.png) [@rationem](https://community.auth0.com/u/rationem)\
**Post date:** [December 23, 2022, 11:30am UTC](https://community.auth0.com/t/distributed-application-supported/96827/4 "2022-12-23T11:30:37Z")

</div>

Hi - I can see and have a working example of Auth0 working for React. My use case is with a React frontend and a node (NextJs) API with all the business logic. I cannot see how to have the API authentication working with the React one so the API rest call requires logged in user and their role . I believe this is ‘backend for frontend’ scenario. Is there an example of this use case?

---

<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:** [January 20, 2023, 7:00pm UTC](https://community.auth0.com/t/distributed-application-supported/96827/5 "2023-01-20T19:00:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 20, 2023, 7:05pm UTC](https://community.auth0.com/t/distributed-application-supported/96827/6 "2023-01-20T19:05:54Z")

</div>

Hi @rationem,

Thank you for your reply.

> [@rationem](#):
>
> I cannot see how to have the API authentication working with the React one so the API rest call requires logged in user and their role . I believe this is ‘backend for frontend’ scenario. Is there an example of this use case?

Yes, our [Auth0 Node (Express) API SDK Quickstarts: Add authorization to an Express.js API application](https://auth0.com/docs/quickstart/backend/nodejs/interactive) is a great place to start.

If you have any additional questions, please feel free to reach out again.

Thanks,  
Rueben
