# Auth0 React with New Universal Login + Passwordless + Organizations

**URL:** <https://community.auth0.com/t/auth0-react-with-new-universal-login-passwordless-organizations/103203>\
**Category:** Get Help\
**Tags:** connections, login-experience, new-universal-login-experience\
**Created:** [March 23, 2023, 8:24pm UTC](https://community.auth0.com/t/auth0-react-with-new-universal-login-passwordless-organizations/103203 "2023-03-23T20:24:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![matheus.ferreira](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/matheus.ferreira/32/35380_2.png) [@matheus.ferreira](https://community.auth0.com/u/matheus.ferreira)\
**Post date:** [March 23, 2023, 8:24pm UTC](https://community.auth0.com/t/auth0-react-with-new-universal-login-passwordless-organizations/103203/1 "2023-03-23T20:24:07Z")

</div>

Hi,

I have been using Organizations for a while and now I have a requirement where I need to include a passwordless flow. Following the docs [docs](https://auth0.com/docs/authenticate/passwordless/passwordless-with-new-universal-login), I was able to enable the passwordless with the New Universal Login experience.

The problem is when I enable the organizations. With orgs enabled, when I do a redirect to the login, auth0 react client returns an error saying `http://localhost:9001/?error=invalid_request&error_description=the%20connection%20parameter%20is%20not%20supported%20with%20the%20organization%20prompt&state=dGtBYWxVZ0xNMk5EQnB5NHVZUEdJQUhmR0preHJMN1lMOGJSUnI3ZlRDTg%3D%3D`.

The doc uses the auth0-spa-js, so I tried using that too but the same problem, the login page didn’t even open. I just want to know if the flow is possible and I’m missing something. Or, it won’t be possible to enable passwordless with orgs and the new login experience. Possible similar to the question [this thread](https://community.auth0.com/t/organizations-and-passwordless-authentication-with-email/75036/18)

---

<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:** [March 24, 2023, 4:15am UTC](https://community.auth0.com/t/auth0-react-with-new-universal-login-passwordless-organizations/103203/3 "2023-03-24T04:15:11Z")

</div>

Hi @matheus.ferreira,

Thanks for reaching out to the Auth0 Community!

I understand you would like to use the New Universal Login with Passwordless and Organizations.

This is possible, and you will need to configure your Organization settings to enable the preferred Passwordless connection.

For example, with Passwordless Email, please do the following:

1. Navigate to your Auth0 Dashboard \> Organizations \> Your Organization settings
2. Click on the Connections tab
3. Click on **Enable Connections** button
4. Select `email` connection
5. Press **Enable Connection**

After this is complete, you can use the New Universal Login with Passwordless and Organizations. For example:

```auto
https://{yourDomain}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    state={state}&
    organization={org_id}&
    connection=email

```

I hope the explanation helps!

Please let me know if you have any additional questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![matheus.ferreira](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/matheus.ferreira/32/35380_2.png) [@matheus.ferreira](https://community.auth0.com/u/matheus.ferreira)\
**Post date:** [March 24, 2023, 1:04pm UTC](https://community.auth0.com/t/auth0-react-with-new-universal-login-passwordless-organizations/103203/4 "2023-03-24T13:04:34Z")

</div>

Thanks for the answer.

I had the connection enabled and I was receiving the same error, but I think the problem is the organization prompt.

I tried passing the organization and the connection param and worked, but only with the connection param - which forces the organization prompt - it didn’t work.

So, I assume this flow it will only work if I point the application to the right organization?

---

<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:** [April 4, 2023, 10:53pm UTC](https://community.auth0.com/t/auth0-react-with-new-universal-login-passwordless-organizations/103203/5 "2023-04-04T22:53:58Z")

</div>

Hi @matheus.ferreira,

Thank you for your response and clarification.

> [@matheus.ferreira](#):
>
> I had the connection enabled and I was receiving the same error, but I think the problem is the organization prompt.
> 
> I tried passing the organization and the connection param and worked, but only with the connection param - which forces the organization prompt - it didn’t work.

That is correct. Passing the `organization` and `connection` parameters in the login request is the recommended way to use the Passwordless flow in the context of organizations. On the contrary, passing only the `connection` parameter will result in the `"the connection parameter is not supported with the organization prompt"` error message.

> [@matheus.ferreira](#):
>
> So, I assume this flow it will only work if I point the application to the right organization?

Yes, that is correct!

I hope this helps!

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:** [April 18, 2023, 10:54pm UTC](https://community.auth0.com/t/auth0-react-with-new-universal-login-passwordless-organizations/103203/6 "2023-04-18T22:54:18Z")

</div>

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