# Control flow of Organization Invitation towards login instead of signup

**URL:** <https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814>\
**Category:** Get Help\
**Tags:** organizations, invitations, new-universal-login\
**Created:** [November 26, 2021, 12:31pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814 "2021-11-26T12:31:11Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvdberg](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rvdberg/32/14206_2.png) [@rvdberg](https://community.auth0.com/u/rvdberg)\
**Post date:** [November 26, 2021, 12:31pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/1 "2021-11-26T12:31:11Z")

</div>

Hi all!

This topic is about the Invitation as part of the Organization feature.  
Adding the inviteticket and organization id as query parameters towards the call to **/authorize** will make the flow end up at **/u/signup/invitation** , which is great because the invited email address can then be used to create a new identity/account.

What I’m looking for here is the scenario that the identity/account already exists. Trying to then ‘login’ will result in an ‘Error, please try again’ because the account already exists. (Not the best UX yet).  
There is a button though on the signup prompt that says: Already have an account click here the login, which takes you to: **/u/login/invitation** , which is the correct location to go to in this scenario.

Now my question is, can we force direct the invitation towards the login part of the invitation? So that the **/authorize** redirects directly towards **/u/login/invitation** instead of **/u/signup/invitation**.

I’ve experimented with prompt=login and screen\_hint=login (in addition to the org\_id and invitationticket), but no luck. But I also didn’t expect this to work yet, since it’s not documented anywhere.

Best,  
Rutger

---

<div class="post-metadata">

**Author:** ![danielc1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/danielc1/32/33944_2.png) [@danielc1](https://community.auth0.com/u/danielc1)\
**Post date:** [December 21, 2021, 11:16am UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/2 "2021-12-21T11:16:43Z")

</div>

Also experiencing the same issue.  
Tried the prompt and screen\_hint and it doesn’t work.

Our users getting errors cause we can’t control that from outside.

Any solution?

---

<div class="post-metadata">

**Author:** ![chelsea](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chelsea/32/41821_2.png) [@chelsea](https://community.auth0.com/u/chelsea)\
**Post date:** [December 8, 2022, 6:31pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/3 "2022-12-08T18:31:12Z")

</div>

I’m experiencing the same issue. Did you ever get a resolution?

---

<div class="post-metadata">

**Author:** ![dak2009](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dak2009/32/44901_2.png) [@dak2009](https://community.auth0.com/u/dak2009)\
**Post date:** [January 13, 2023, 11:56pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/4 "2023-01-13T23:56:14Z")

</div>

We are seeing the same thing. Why isn’t Auth0 checking that the user already exists and is simply being added as a new member?

---

<div class="post-metadata">

**Author:** ![scott13](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/scott13/32/47051_2.png) [@scott13](https://community.auth0.com/u/scott13)\
**Post date:** [July 13, 2023, 1:58pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/5 "2023-07-13T13:58:52Z")

</div>

I would also like to know if there is something we can do here.

When a user (who already has an account) clicks the invite email and goes to the invite “screen” they automatically start to “login” and don’t realise they are actually on the signup page. Auth0 should already know if this user has an account and should default to login.

Many thanks,  
Scott

---

<div class="post-metadata">

**Author:** ![atulram4152](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/atulram4152/32/49411_2.png) [@atulram4152](https://community.auth0.com/u/atulram4152)\
**Post date:** [August 23, 2023, 8:27am UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/6 "2023-08-23T08:27:24Z")

</div>

I am also looking for the same. Precisely a way to tell auth0 to redirect to **/u/login/invitation** instead of **/u/signup/invitation** as the user already exists. This way we can utilize this flow to add a user as a member of an organization when they choose to accept the invitation by logging in. Is there a way to add this info in the invitation payload, I see the invitation API call accepts the below payload  
`{ "inviter": { "name": "string" }, "invitee": { "email": "string" }, "client_id": "string", "connection_id": "string", "app_metadata": {}, "user_metadata": {}, "ttl_sec": 0, "roles": ["string"], "send_invitation_email": true }`  
Has any one played with it? Is there a solution possible

---

<div class="post-metadata">

**Author:** ![larsf96](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/larsf96/32/33204_2.png) [@larsf96](https://community.auth0.com/u/larsf96)\
**Post date:** [October 10, 2023, 6:59am UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/7 "2023-10-10T06:59:02Z")

</div>

Is there any update on this topic? The current behavior is very confusing as the page really looks like the login page and only a small button indicates that you have to switch to the login. Everywhere else in the New Universal Login you would start with the login and have the button to switch to the registration. It would be good to keep the logic at least the same above the different screens

---

<div class="post-metadata">

**Author:** ![magnus3](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@magnus3](https://community.auth0.com/u/magnus3)\
**Post date:** [October 18, 2023, 1:58pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/8 "2023-10-18T13:58:49Z")

</div>

Would also be interested in a solution. In our case: when you are already member of Organization A and you get an invitation from Organization B (with different Logo and potential colors) how should you even know to use the same password from Organization A? and then how should you know to click on “Login” versus “accept Invitation”? This does not make sense… there must be a different way.

---

<div class="post-metadata">

**Author:** ![felix4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/felix4/32/61986_2.png) [@felix4](https://community.auth0.com/u/felix4)\
**Post date:** [December 7, 2023, 11:28am UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/9 "2023-12-07T11:28:24Z")

</div>

This is really bad UX.

---

<div class="post-metadata">

**Author:** ![youssef.elkhalili](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@youssef.elkhalili](https://community.auth0.com/u/youssef.elkhalili)\
**Post date:** [January 31, 2024, 3:21pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/10 "2024-01-31T15:21:06Z")

</div>

This is an issue for us as well

---

<div class="post-metadata">

**Author:** ![nicholas.burnette](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@nicholas.burnette](https://community.auth0.com/u/nicholas.burnette)\
**Post date:** [February 20, 2024, 5:32pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/11 "2024-02-20T17:32:00Z")

</div>

Is this UX intended, or is this currently being addressed? We would like an answer, because the work around to this bad UX feels more like a hack than an intended solution.

---

<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:** [February 20, 2024, 10:56pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/13 "2024-02-20T22:56:57Z")

</div>

Hey there @nicholas.burnette welcome to the community! Totally agree the current flow is not ideal 😕 It’s currently in our backlog to allow for treating as a login, but I am unfortunately unable to offer any timeline as to when it might get implemented.

---

<div class="post-metadata">

**Author:** ![chaitanya.tyagi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chaitanya.tyagi/32/44211_2.png) [@chaitanya.tyagi](https://community.auth0.com/u/chaitanya.tyagi)\
**Post date:** [March 15, 2024, 9:15am UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/14 "2024-03-15T09:15:50Z")

</div>

Much needed feature.

---

<div class="post-metadata">

**Author:** ![adrian\_gd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adrian_gd/32/45114_2.png) [@adrian\_gd](https://community.auth0.com/u/adrian_gd)\
**Post date:** [April 16, 2024, 3:27pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/16 "2024-04-16T15:27:37Z")

</div>

Any updates on this? This is a highly needed feature for any user that wants to allow multiple users to be in multiple organizations

---

<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 30, 2024, 3:27pm UTC](https://community.auth0.com/t/control-flow-of-organization-invitation-towards-login-instead-of-signup/73814/17 "2024-04-30T15:27:58Z")

</div>

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