Prashant Sharma
11/08/2023, 10:30 AMMoises Morales
11/08/2023, 11:48 AMoauthIssuerLocation
value ends with a trailing slash, like <https://mycompany.eu.auth0.com/>
. Otherwise, the authentication will not workPrashant Sharma
11/08/2023, 1:13 PMPatrick Sexton
11/09/2023, 11:27 PM/
instead of the page that has the embedded web component.Boris
11/10/2023, 11:17 AMPrashant Sharma
11/10/2023, 11:34 AMBoris
11/10/2023, 12:41 PMPrashant Sharma
11/10/2023, 3:39 PMPete Lorenz
11/10/2023, 3:39 PMBoris
11/13/2023, 8:55 AM/
as the last call location basically tells the client to redirect back to your original gooddata hostname without any URL parameters, which is expected.
You obviously don't want to be redirected to the gooddata directly, but to your app with the GD elements.
But such routing should be done on the level of the react app.Prashant Sharma
11/13/2023, 8:57 AMPrashant Sharma
11/13/2023, 8:59 AMPatrick Sexton
11/13/2023, 3:56 PMWhenever a user is not authenticated with the GoodData server, the library will redirect the browser window to the SSO provider that you configured at GoodData. Once the user is logged in, the SSO provider will redirect the browser window back to the exact same page it was before the first redirect.
Patrick Sexton
11/13/2023, 4:16 PM/
which leaves the user on GoodData, and not the originating page. Looking at the cookies of the traffic I notice a Cookie SPRING_REDIRECT_URI
getting set on the response of the first call to GoodData. I'm guessing that this cookie would then be used by GD on the final auth callback to redirect the user back to the originating URL (the page with the embedded component)?
• https://customapp.com/explore-data/deliverables/dashboards/w/a938ebca-7391-47b2-9a9e-e0255cb4dba5/d/3146ca4f-5ab2-465d-a68b-193143ec8ddf
• https://gooddata.install.com/appLogin?redirectTo=https%3A%2F%2Fcustomapp.com%2Fexplore-data%2Fdeliverables%2Fdashboards%2Fw%2Fa938ebca-7391-47b2-9a9e-e0255cb4dba5%2Fd%2F3146ca4f-5ab2-465d-a68b-193143ec8ddf
• https://gooddata.install.com/oauth2/authorization/gooddata.install.com
• https://auth.okta.com/oauth2/v1/authorize?response_type=code&client_id=0oak7d3ecO7qIWLjv696&scope=openid%20profile%20offline_access&state=IkA7G9a-ut7SszEYNhCFWgGvglr7A2dZEEaKJlRGmfG6&redirect_uri=https://gooddata.install.com/login/oauth2/code/gooddata.install.com&nonce=UdEyVJflmhqyrmjAUzaS0He238VvTZmtqWmD47SqGRM
• https://gooddata.install.com/login/oauth2/code/gooddata.install.com?code=s3RAzHXUNxoWD5L4_aGFVn6cPtZoPaSacIUXJpEXEDA&state=IkA7G9a-ut7SszEYNhCFWgGvglr7A2dZEEaKJlRGmfG6
• https://gooddata.analyticsstaging.staging.mcng.io/Boris
11/14/2023, 8:25 AMPatrick Sexton
11/14/2023, 4:13 PMBoris
11/15/2023, 8:19 AMPatrick Sexton
11/15/2023, 3:56 PMBoris
11/15/2023, 4:05 PMPatrick Sexton
11/15/2023, 4:08 PMBoris
11/21/2023, 9:41 AMPatrick Sexton
11/21/2023, 3:38 PMPrashant Sharma
12/04/2023, 9:09 AMPrashant Sharma
12/07/2023, 6:15 AMBoris
12/07/2023, 8:30 AMBoris
12/14/2023, 2:05 PM