# Question about moving from Universal Login to Embedded Login

**URL:** <https://community.auth0.com/t/question-about-moving-from-universal-login-to-embedded-login/125954>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [January 29, 2024, 3:41pm UTC](https://community.auth0.com/t/question-about-moving-from-universal-login-to-embedded-login/125954 "2024-01-29T15:41:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meni](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/meni/32/50083_2.png) [@meni](https://community.auth0.com/u/meni)\
**Post date:** [January 29, 2024, 3:41pm UTC](https://community.auth0.com/t/question-about-moving-from-universal-login-to-embedded-login/125954/1 "2024-01-29T15:41:48Z")

</div>

Hey,  
how can we transition our React-based application from utilizing Centralized Universal Login to Embedded Login? Specifically, can we integrate both auth0-react and auth0-js SDKs to manage authentication seamlessly?  
we aim to verify authentication with auth0React.useAuth0(‘@auth0/auth0-react’). If authentication fails, we wish to redirect the user to the sign-in page and use auth0-js SDK to retrieve the access token. Is a hybrid approach feasible, or should we rely on a single SDK for authentication management throughout the application?

thanks for the support

---

<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:** [January 30, 2024, 12:34am UTC](https://community.auth0.com/t/question-about-moving-from-universal-login-to-embedded-login/125954/2 "2024-01-30T00:34:50Z")

</div>

Hey @meni welcome to the community!

> [@meni](#):
>
> Is a hybrid approach feasible, or should we rely on a single SDK for authentication management throughout the application?

Hmm I’m not entirely sure to be honest, this is an interesting approach. I think using a single SDK would be preferred, but I don’t see any reason you couldn’t implement both - You would just need to handle implementing the logic to present a user with the embedded option assuming failed auth in `auth0-react`.

Out of curiosity, what is the need for switching to embedded? I haven’t seen this done personally. You’ll definitely want to consider to potential pit falls of using embedded:

> **[Centralized Universal Login vs. Embedded Login](https://auth0.com/docs/authenticate/login/universal-vs-embedded-login)**
>
> Describes the differences between centralized Universal Login and Embedded login.

---

<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:** [February 13, 2024, 12:35am UTC](https://community.auth0.com/t/question-about-moving-from-universal-login-to-embedded-login/125954/4 "2024-02-13T00:35:48Z")

</div>

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