Append additional information to the URLs

Shashidhara H shared this question 4 years ago
Answered

Hi,

We have configured yellowfin with Single signon integration, would like to include additional information in the url with customer names. basically append the information to all the redirected url as below.

https://localhost/reports/MIPreDashboard.i4?tid=Customer

https://localhost/reports/MIPreAdminConsole.i4?tid=Customer

From the above url "tid=customer" is what needs to be included, the customer name will be changed dynamically.

is this possible??


Regards

Shashi

Replies (4)

photo
1

Hi Shashidhara,

Thanks for reaching out to support with your question.

This type of functionality should be achievable, but it would require the assistance of an integration specialist to implement fully. Would you like me to reach out to a consultant on your behalf to explore possible solutions here?

Thanks,

Eric

photo
1

Hi Eric,

Ok, we would need your help on this to achieve. Any solution or blogs will help us in addressing this.

Another question, hoping integration specialist will be part of the support.

Regards

Shashi

photo
1

Hi Shashi,


Before I reach out to our consultants over here, can I ask what you're trying to achieve here?

The reason I ask is, when using SSO, the client org ID is usually passed in the token, so there is never a need to build a URL, it simply logs the user into their org and displays the dashboard.


Also can I confirm you are still using 7.2?


Thanks,

David

photo
1

Hi David,

Thanks for the updating.

Yes, we are using SSO and client org ID is passed in the token. in addition to that the other URLs, need this additional parameter to be passed ?tid=Customer. Which is used to load the SSO widget, is there a way to pass additional parameter for all the sub urls getting created in YF.

Regards

Shashi

photo
1

Hi Shashi,


Thanks for the info, though I'm still a little unsure in what you're trying to achieve.

If you've logged the user into the client org, you're done from a YF standpoint ;) .


Can you please elaborate on your SSO process (possibly even draw a diagram) of what you're trying to achieve and why. E.g. We need to pass this for another application which can only use URLs, so the end user will click this, to get that, and see this etc..

This is the sort of info I need to be able to help you further, as there might be a way to do what you're after right now, or simply a better way of tackling it.


Just need this sort of info before I can organize any possible calls/discussions.


Thanks,

David

photo
1

Hi David,


As mentioned earlier, we do have single sign-on enabled. At the time of login, based on the client ref id customer will be landed in the respective client org. Once users lands on yellowfin, there will be SSO widget on top as custom header page. So far we are good and it's all working. In the recent SSO upgrades, have an option for user to switch the customer at the landing page with a drop down. SSO team are preserving the "?tid=Customer" in the urls to display the header widget. since the YF urls are not carrying "?tid=Customer" in the URL header widget is not visible.


We have to pass this in the URL to preserve the header page.


is it possible to pass this information towards the end the below url


response.sendRedirect(request.getContextPath() + "/logon.i4?LoginWebserviceId=" + rs.getLoginSessionId());

We tried didn't work, any other options will help us to solve this.4748089125f8fe76cff625ff87736afc

Regards

Shashi

photo
1

Hi Shashi,


Thanks for the additional info, unfortunately not that I'm aware of, it would require a log out and login again to the respective client org.


In saying this, do end users usually log into multiple orgs?

I could see why this would be useful for the main Yellowfin admins, though not something I would expect for an end user to ever be able to do, even if they were a client org admin.


Regards,

David

photo
1

Hi David,

Internal users has multiple client orgs, only those will have access to. To preserve the SSO header widget needs "?tid=Customer" in the urls formed within in the yellowfin.


Regards

Shashi

photo
1

Thanks for confirming Shashi,


Sorry what you're after is not something we can handle via the YF URL.


I'm sure there is a way to achieve something similar using a custom header, and including a 'switch org button', or something of the like which will actually call the log out webs service, but then also log them into another org. What I cannot work out is how to identify which org to log the into to pass to the token. Maybe including client org names in the header, then based on which one they click on, it logs them into that one?


So unfortunately there isn't a nice and simply way to achieve what you're after by changing the URL strings, though there is a way to do this using some custom dev work. I'll see what the services team can come up with.


Out of curiosity, how many internal users would you have with the ability to switch orgs, and how many orgs do you have?


Thanks,

David

photo
1

Hi David,


Okay, than the user switching the client orgs. Switch user is not a concern, while loading YF urls at the same time SSO header widget should be visible on top as shown in the above screenshot, so we are looking are they any methods to achieve this. Probably towards the end of url.

Something like this.. https://localhost/reports/MIPreDashboard.i4?tid=Customer


Internal users are close to 30~35 users.


Regards

Shashi

photo
1

Hi Shashi,


We've had a consultant reach out directly to you on this, though have not heard back from you via the email thread, can you please check it out when you get the chance.


Thanks,

David

photo
1

Hi David,

Sorry was very busy with a release, can we have a discussion next week probably on thursday.

Regards

Shashi

photo
1

Hi Shashi,


Yup Rob is trying to organize a time with you. Can you please respond to his email as confirmation?


Thanks,

David

photo
1

Hi Shashi,


I believe this has since been resolved by confirming the above suggestion works.

Please let me know if I've missed something here, or if there was anything else you were after.


Regards,

David

photo
1

Thanks David, please close the ticket.

Regards

Shashi

photo
Leave a Comment
 
Attach a file