# Organization specific login with SSO auto-membership

**URL:** <https://community.auth0.com/t/organization-specific-login-with-sso-auto-membership/185133>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [April 7, 2025, 11:40pm UTC](https://community.auth0.com/t/organization-specific-login-with-sso-auto-membership/185133 "2025-04-07T23:40:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [April 10, 2025, 3:14pm UTC](https://community.auth0.com/t/organization-specific-login-with-sso-auto-membership/185133/4 "2025-04-10T15:14:03Z")

</div>

Hi @nhsieh

Welcome to the Auth0 Community!

I am sorry about the delayed reply to your inquiry!

When prompting the user for the organization first, as you have mentioned, they are directed to a screen where they will need to log in or continue with a specific connection (enterprise/social). If you enable `Identifier First` under the `Authentication Profile` and you set up [Home Realm Discovery](https://community.auth0.com/t/home-realm-discovery-customization/57912), once the user enters their email for HRD or they select a social button, then the session will be retrieved fromt he IdP.

Otherwise, when using `Prompt for Organization`, you cannot pass in in the `connection` parameter inside the `/authorize` URL so that you can automatically initiate the SSO. However, if you Prompt for Credentials and pass in the `connection={{connection_name}}` inside the` /authorize` call. A couple of examples would be:

```auto
https://{{auth0_domain}}/authorize?response_type=code&client_id={{client_id}}&connection={{connection_name}}&organization={{org_id}}&redirect_uri={{redirect_uri}}

```

If you have any other questions, feel free to let me know!

Kind Regards,  
Nik

---

_[View the full topic](https://community.auth0.com/t/organization-specific-login-with-sso-auto-membership/185133)._
