# How to pass the data back to Action from React

**URL:** <https://community.auth0.com/t/how-to-pass-the-data-back-to-action-from-react/136366>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [June 14, 2024, 10:40am UTC](https://community.auth0.com/t/how-to-pass-the-data-back-to-action-from-react/136366 "2024-06-14T10:40:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [March 13, 2025, 4:04pm UTC](https://community.auth0.com/t/how-to-pass-the-data-back-to-action-from-react/136366/3 "2025-03-13T16:04:22Z")

</div>

Hi @nayan,

Welcome to the Auth0 Community and sorry for the late reply.

You are still able to use the above mentioned documentation even though you do not have a pre-configured backend API, since the data is being transferred using a signed session token, so that:

_The token will be validated to ensure that:_

- _The signature is valid._
- _The token is not expired._
- _The state claim within the token matches the state parameter used as part of the redirect._

This [Knowledge Article](https://community.auth0.com/t/implementing-a-redirect-with-actions-and-passing-data-back-to-auth0/123118) provides more information.

However, as mentioned in our docs as well, passing information back and forth in the front channel might open up surface area for bad actors to attack, so that is why a backend is recommended for sending information securely.

Another option would still be using the [AuthorizationParams](https://auth0.github.io/auth0-react/interfaces/AuthorizationParams.html) from the React SDK if you want to send custom parameters to the Authorization Server. This community post explains the details :

- [Passing custom parameters to Auth0 Actions from New Universal Login](https://community.auth0.com/t/passing-custom-parameters-to-auth0-actions-from-new-universal-login/117148)

I hope this helps your use case, but others as well.  
Thanks,  
Remus

---

_[View the full topic](https://community.auth0.com/t/how-to-pass-the-data-back-to-action-from-react/136366)._
