Ability to run in IFrame w/ SSO (without external login) - for SPA
Daniel Boggs
We need the ability to display a HelpJuice article within an IFrame (inside a custom SPA), and our HelpJuice site is secured via Azure AD (AAD) and SSO. It works only if the user has already logged into HelpJuice externally (or by introducing a popup window into our SPA to perform the initial login to HelpJuice - this is the direction we've taken, but it adds yet another login popup to our SPA).
It would be nice if HelpJuice provided some sort of out-of-the-box integration to handle this scenario. I'm not sure if there's an authentication flow that could be used to avoid a redirect. Or maybe an unsecured HelpJuice page that could provide an out-of-box login popup, or maybe a JavaScript library for SPAs to create and manage an iframe and the associated login popup (and somehow perform the login only when it's needed).
(One other alternative we considered is displaying the article content as pulled from the API - we already use the API for search results - but the problem with this is not having the associated resources that must be loaded to make the page look and behave correctly. If we manually included those, we'd have to continually update them as HelpJuice is updated, so it's not really a good option.)
Mark Price
Daniel Boggs we are also integrating HelpJuice into our custom SPA and are using Azure AD SSO. We are just getting started, and I would love to bounce ideas off of you and see how you accomplished this.
Would you be open to a discussion on the topic? If so, I can provide my Linked In for you to respond to with your info.
Daniel Boggs
Mark Price: Pretty much we just did as mentioned above. There was never really a better way to do it. For search, we call into our own server backend and access the API that way (using a HelpJuice API key). For displaying the articles... we used a popup window to do the initial SSO (when logging into the app); then when displaying an article, we just load it directly in an iframe.