# SSO without the hosted login page

**URL:** <https://community.auth0.com/t/sso-without-the-hosted-login-page/8246>\
**Category:** Get Help\
**Tags:** v8, without-lock, sso\
**Created:** [September 19, 2017, 11:23pm UTC](https://community.auth0.com/t/sso-without-the-hosted-login-page/8246 "2017-09-19T23:23:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emanuel.williams](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emanuel.williams/32/12752_2.png) [@emanuel.williams](https://community.auth0.com/u/emanuel.williams)\
**Post date:** [September 19, 2017, 11:23pm UTC](https://community.auth0.com/t/sso-without-the-hosted-login-page/8246/1 "2017-09-19T23:23:43Z")

</div>

I am extremely confused by the Auth0 documentation. Is it possible to do this:

- User types their email address on our  
website and presses enter
- Our website recognizes the email domain as a federated user and uses the V8 SDK to call auth0
- Auth0 redirects to the specified IDP provider to allow the user to login
- Once the user logs in they get sent back to a /callback endpoint in our application
- Note I do not want the user to see the hosted login page at all

Is this possible?

What I find extremely confusing is that all of your examples suggest that we should use the v8 sdk like so to perform enterprise connections :

> **[Authentication API - Auth0 Docs](https://auth0.com/docs/api/authentication?javascript#enterprise-saml-and-others-)**
>
> The Authentication API enables you to manage all aspects of user identity when you use Auth0. It offers endpoints so your users can log in, sign up, log out, access APIs, and more.

```
  webAuth.redirect.loginWithCredentials({
    connection: 'Username-Password-Authentication',
    username: 'testuser',
    password: 'testpass',
    scope: 'openid'
  });

```

Why would we pass a username and password to the sdk if we are going to redirect a user to a IDP to login?

---

<div class="post-metadata">

**Author:** ![amir1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@amir1](https://community.auth0.com/u/amir1)\
**Post date:** [November 13, 2017, 5:31pm UTC](https://community.auth0.com/t/sso-without-the-hosted-login-page/8246/2 "2017-11-13T17:31:45Z")

</div>

Hi, @emanuel.williams  
Did you get an answer to this question?  
I was wondering about the same thing and not sure what is the answer

Thanks

---

<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:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/sso-without-the-hosted-login-page/8246/3 "2018-03-02T05:56:35Z")

</div>


