# SAML response via default login URL

**URL:** <https://community.auth0.com/t/saml-response-via-default-login-url/20808>\
**Category:** Get Help\
**Tags:** saml2, login, lock\
**Created:** [January 31, 2019, 8:38am UTC](https://community.auth0.com/t/saml-response-via-default-login-url/20808 "2019-01-31T08:38:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonySuper](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tonysuper/32/12714_2.png) [@tonySuper](https://community.auth0.com/u/tonySuper)\
**Post date:** [January 31, 2019, 8:38am UTC](https://community.auth0.com/t/saml-response-via-default-login-url/20808/1 "2019-01-31T08:38:38Z")

</div>

Is there anyway to get a SAML response via https://{auth0.domain}/login?client={client ID} as opposed to via https://{auth0.domain}/samlp/{client ID}

I have noticed that you can specify a protocol parameter like so: https://{auth0.domain}/login?client={client ID}&parameter=samlp but I do not get a SAML response when I do that. Is this even possible?

---

<div class="post-metadata">

**Author:** ![thameera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thameera/32/13430_2.png) [@thameera](https://community.auth0.com/u/thameera)\
**Post date:** [January 31, 2019, 9:26am UTC](https://community.auth0.com/t/saml-response-via-default-login-url/20808/2 "2019-01-31T09:26:32Z")

</div>

If you want a SAML response, the authentication should be initiated with a `/samlp/CLIENT_ID` call. If the user already has a session (SSO), Auth0 will directly return back to your app with a SAML response. If not, it will display the login page which has a `/login?...` URL.

The `/login?...` URL should never be called directly.

---

<div class="post-metadata">

**Author:** ![tonySuper](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tonysuper/32/12714_2.png) [@tonySuper](https://community.auth0.com/u/tonySuper)\
**Post date:** [February 1, 2019, 1:46am UTC](https://community.auth0.com/t/saml-response-via-default-login-url/20808/3 "2019-02-01T01:46:16Z")

</div>

I see, thank you very kindly!

---

<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:** [August 29, 2019, 10:29am UTC](https://community.auth0.com/t/saml-response-via-default-login-url/20808/4 "2019-08-29T10:29:56Z")

</div>

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