SAML Authentication Issue

ankur1616

Seniorius Lurkius
2
I am having an issue using Ping Identity SAML provided where the SAML Authentication page with login does not show up. I get an error page with a reference number and also see the following javascript error:

js: Unrecognized Content-Security-Policy directive 'referrer'.

I posted on StackOverflow but just got tumbleweed. Here are more details:

[url=https://stackoverflow.com/que...tackoverflow.com/questions/542 ... er-message[/url]

My main issue is that the SAML authentication login page comes when I enter the Service Provider Url in a browser. However in Qt when I take the decoded SAMLRequest and set it in a browser I get this error page. I verified the decode is fine because the SAMLRequest works for our internal site.

Help me ArsTechnica...you're my only hope...
 

DastardlyOldMan

Ars Scholae Palatinae
931
You might want to load up the page with a simple Web Developer console and see what the SAML flow looks like from a Net perspective. SAML (I mostly work with legacy Shibboleth now through Ping) does a lot of redirecting (application -> Ping -> 3rd party IDP -> Ping -> application), so it's entirely possible that in the course of the redirecting, something's being added or removed in unexpected ways. I know nothing about the QWebEngineView, so I'm not really reading the codeblock over on stackof well, but the referrer might be getting added after you've released control.

A lot of the chatter around that on stackof seems to be related to browser-specific settings. Is the QWebEngine opening this in the same browser you're using to confirm it (although I wouldn't expect Ping to throw an error if that were true)? What's the Ping guide tell you about the reference # / error?

ala https://documentation.pingidentity.com/ ... rrors.html