# SAML setup with Gooddata -- AUTH0 Identity Provider Login URL redirects to gooddata login page

**URL:** <https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099>\
**Category:** Get Help\
**Tags:** saml\
**Created:** [June 15, 2017, 10:23pm UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099 "2017-06-15T22:23:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.wenschhof](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@daniel.wenschhof](https://community.auth0.com/u/daniel.wenschhof)\
**Post date:** [June 15, 2017, 10:23pm UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/1 "2017-06-15T22:23:18Z")

</div>

I am trying to set up Auth0 as an Identity Provider for my SAML application service provider: GoodData.

GoodData utilizes the SAML protocol for exchanging information with Auth0, so I have gone through the following to configure Auth0 authentication for our GoodData organization:

> **[Configure Auth0 as a SAML Identity Provider - Auth0 Docs](https://auth0.com/docs/authenticate/single-sign-on/outbound-single-sign-on/configure-auth0-saml-identity-provider)**
>
> Describes how to configure Auth0 to serve as a SAML identity provider in a SAML federation.

I have sent all required info to GoodData and their engineers have configured the GooData app as a Service Provider for Auth0.

However, after signing in on the Identity Provider Login URL below with a user that exists in Auth0, I am redirected to the GoodData login page and not logged into the gooddata app:

[https://himssanalytics.auth0.com/samlp/psKyAvWjlyqdv0r950U8YNHCkib0P6Li](https://himssanalytics.auth0.com/samlp/psKyAvWjlyqdv0r950U8YNHCkib0P6Li)

Are there further steps that need to be taken to configure the SAML setup beyond those in the SAML setup steps in the link above?

* * *

After fixing the initial URL error and logging in I am still redirected to the GoodData login page and not logged into the GoodData app.

GoodData also mentioned that they believe I have something configured incorrectly on the Auth0 side, they advised to make the following changes to the AUTH0 SAML setup:

Settings

```
{
"audience": "solutions.himssanalytics.org",
"recipient": "https://solutions.himssanalytics.org/gdc/account/samllogin",
"nameIdentifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
"nameIdentifierProbes": 
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
],
"signResponse": true
}

```

I went to Client settings → SAML2 addon under my GoodData app to make these changes, but I don’t see any way to change those values, and under the SAML2 addon, I see the following:

> “You need to configure your settings before being able to enable this addon.”

Is there somewhere that I can change those settings?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [June 19, 2017, 7:54pm UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/2 "2017-06-19T19:54:48Z")

</div>

The information provided is not enough to provide a definitive answer, however, since you mention that you sign-in correctly and are then redirected to an incorrect location; the login page instead of the application recognizing the SAML authenticated user you may want to check if you correctly configured the URL to which the SAML assertion should be sent to.

According to GoodData [documentation](https://help.gooddata.com/display/developer/SAML+SSO+with+GoodData), **the SAML assertion should be sent to an URL similar to the following** `https://secure.gooddata.com/gdc/account/samllogin`; it may be different if you have your own hostname.

You may want to confirm if you correctly configured the Auth0 SAML addon to use an _Application Callback URL_ as stated in their documentation. If this does not prove to be the source of the issue you may need to include more information in the question.

---

<div class="post-metadata">

**Author:** ![daniel.wenschhof](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@daniel.wenschhof](https://community.auth0.com/u/daniel.wenschhof)\
**Post date:** [June 28, 2017, 11:16pm UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/3 "2017-06-28T23:16:06Z")

</div>

Thanks @jmangelo, I spoke with GoodData and you were right I had the wrong callback URL, I have updated that to the value they provided: `https://solutions.himssanalytics.org/gdc/account/samllogin`.

---

<div class="post-metadata">

**Author:** ![daniel.wenschhof](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@daniel.wenschhof](https://community.auth0.com/u/daniel.wenschhof)\
**Post date:** [June 28, 2017, 11:16pm UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/4 "2017-06-28T23:16:06Z")

</div>

Thanks @jmangelo, I spoke with GoodData and you were right I had the wrong callback URL, I have updated that to the value they provided: `https://solutions.himssanalytics.org/gdc/account/samllogin`.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [July 5, 2017, 7:49pm UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/5 "2017-07-05T19:49:06Z")

</div>

In relation to your update, the settings are edited in the screen of SAML 2.0 Addon by using the Javascript editor. By default all settings are commented, so you should uncomment the relevant ones and update their values.

---

<div class="post-metadata">

**Author:** ![daniel.wenschhof](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@daniel.wenschhof](https://community.auth0.com/u/daniel.wenschhof)\
**Post date:** [July 11, 2017, 1:03am UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/6 "2017-07-11T01:03:57Z")

</div>

Yes! It works! Thanks @jmangelo !

---

<div class="post-metadata">

**Author:** ![daniel.wenschhof](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@daniel.wenschhof](https://community.auth0.com/u/daniel.wenschhof)\
**Post date:** [July 11, 2017, 1:03am UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/7 "2017-07-11T01:03:57Z")

</div>

Yes! It works! Thanks @jmangelo !

---

<div class="post-metadata">

**Author:** ![daniel.wenschhof](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@daniel.wenschhof](https://community.auth0.com/u/daniel.wenschhof)\
**Post date:** [July 14, 2017, 9:35pm UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/8 "2017-07-14T21:35:54Z")

</div>

I just have a couple final questions on SAML 2 setup:

1. I have created a Post User Registration hook that pushes new users to our GoodData app via API. In the list of hook user params, I don’t see an option to get the user’s current password – is there a way that I can access the user’s current password in a hook?

2. Are there any future plans to add a “User Updated” Hook? For example, if we change a user’s email, the hook would fire?

3. Is there a way to limit the Post User Registration hook to only run for certain users? For example, only run a hook for users that are associated to a given client (application)?

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:54am UTC](https://community.auth0.com/t/saml-setup-with-gooddata-auth0-identity-provider-login-url-redirects-to-gooddata-login-page/7099/9 "2018-03-02T05:54:41Z")

</div>


