# Generating a magic-link or a connection specific login link to send to the user

**URL:** <https://community.auth0.com/t/generating-a-magic-link-or-a-connection-specific-login-link-to-send-to-the-user/92752>\
**Category:** Get Help\
**Tags:** enterprise-connectio, magic-link, login\
**Created:** [October 19, 2022, 9:31pm UTC](https://community.auth0.com/t/generating-a-magic-link-or-a-connection-specific-login-link-to-send-to-the-user/92752 "2022-10-19T21:31:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ymn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ymn/32/36433_2.png) [@ymn](https://community.auth0.com/u/ymn)\
**Post date:** [October 19, 2022, 9:31pm UTC](https://community.auth0.com/t/generating-a-magic-link-or-a-connection-specific-login-link-to-send-to-the-user/92752/1 "2022-10-19T21:31:35Z")

</div>

Hey there, we are thinking of using an enterprise connection for one of our clients. is there a way for us to generate a login link which can only be used by that organization ?. we want to send this login link to them via our own communication system. is there a way to send a link to the users of that organization in such a way that they get redirected automatically to their enterprise connection specific login page bypassing the auth 0 login page?.  
Any help is greatly appreciated, thanks

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 27, 2022, 10:42pm UTC](https://community.auth0.com/t/generating-a-magic-link-or-a-connection-specific-login-link-to-send-to-the-user/92752/3 "2022-10-27T22:42:28Z")

</div>

Hi @ymn,

If I understand correctly, you want to bypass the Auth0 login prompt and direct your users to their IdP login page.

You can do this by passing a `connection` parameter with the request to authorize. Documented here:

[https://auth0.com/docs/api/authentication#enterprise-saml-and-others-](https://auth0.com/docs/api/authentication#enterprise-saml-and-others-)

---

<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:** [November 10, 2022, 10:42pm UTC](https://community.auth0.com/t/generating-a-magic-link-or-a-connection-specific-login-link-to-send-to-the-user/92752/4 "2022-11-10T22:42:33Z")

</div>

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