# Retrieving user information when opening new tab

**URL:** <https://community.auth0.com/t/retrieving-user-information-when-opening-new-tab/109312>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [June 15, 2023, 1:08pm UTC](https://community.auth0.com/t/retrieving-user-information-when-opening-new-tab/109312 "2023-06-15T13:08:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phodye](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/phodye/32/48073_2.png) [@phodye](https://community.auth0.com/u/phodye)\
**Post date:** [June 15, 2023, 1:08pm UTC](https://community.auth0.com/t/retrieving-user-information-when-opening-new-tab/109312/1 "2023-06-15T13:08:35Z")

</div>

Hello,

I’m attempting to retrieve user information to automatically fill out a fields in a form in a react application when the app is opened.

The user will be clicking on a call to action button in the original app (where they are logged in) to reach the new react app, which will be in a new tab under a new url.

Is it possible to retrieve the user information without asking the user to login again?

I’ve successfully added login following [this guide](https://auth0.com/docs/quickstart/spa/react/interactive) and I’ve made use of the user object to fill out the fields. But I would like to avoid forcing the user to log in again if possible.

Thank you for any help you might be able to offer.

---

<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:** [June 19, 2023, 6:32pm UTC](https://community.auth0.com/t/retrieving-user-information-when-opening-new-tab/109312/3 "2023-06-19T18:32:51Z")

</div>

Hi @phodye,

Welcome to the Auth0 Community!

> [@phodye](#):
>
> Is it possible to retrieve the user information without asking the user to login again?

Yes! You could call the Authentication API’s [Get user info](https://auth0.com/docs/api/authentication#user-profile) endpoint using the access token generated from the user’s initial login to populate the fields in your form.

Alternatively, you could call the Management API’s [Get a user](https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id) endpoint or the [Search users by email](https://auth0.com/docs/api/management/v2#!/Users_By_Email/get_users_by_email) endpoint to get the user’s information. However, this will require you to know the user’s user\_id or email.

Please let me know if you have any questions.

Thanks,  
Rueben

---

<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:** [July 3, 2023, 6:32pm UTC](https://community.auth0.com/t/retrieving-user-information-when-opening-new-tab/109312/4 "2023-07-03T18:32:54Z")

</div>

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