Web API: saml2/acs: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Samlsignin''' accepts the SAML assertion from an identity provider (IdP) and responses with the HTTP status code 302 (Found) with a location (in HTTP response header) to QPR ProcessAnalyzer containing samlhash as a parameter in the the location (that is then used to [[Web_API:_Token|login]]).
'''Saml2/acs''' accepts the SAML 2.0 assertion from an identity provider (IdP) and responses with the HTTP status code 302 (Found) with a location (in HTTP response header) to QPR ProcessAnalyzer containing the ''samlhash'' parameter in the the location (that is then used for [[Web_API:_Token|login]]).


<pre>
<pre>
Url: POST /api/samlsignin
Url: POST qprpa/api/saml2/acs
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
Body:
Body: (as form data with "SAMLResponse" property)
Body (as form data with SAMLResponse):
SAMLResponse=<assertiondata>
SAMLResponse=<assertiondata>
</pre>
</pre>


Example location (in the HTTP response header): <nowiki>https://customer/qprpa/ui/#?sys:username=<username>&sys:samlhash=<samlhash></nowiki>
Example location (in the HTTP response header): <nowiki>https://customer.onqpr.com/qprpa/ui/#?sys:username=<username>&sys:samlhash=<samlhash></nowiki>


[[Category: QPR ProcessAnalyzer]]
[[Category: QPR ProcessAnalyzer]]

Latest revision as of 23:40, 17 February 2022

Saml2/acs accepts the SAML 2.0 assertion from an identity provider (IdP) and responses with the HTTP status code 302 (Found) with a location (in HTTP response header) to QPR ProcessAnalyzer containing the samlhash parameter in the the location (that is then used for login).

Url: POST qprpa/api/saml2/acs
Content-Type: application/x-www-form-urlencoded
Body: (as form data with "SAMLResponse" property)
SAMLResponse=<assertiondata>

Example location (in the HTTP response header): https://customer.onqpr.com/qprpa/ui/#?sys:username=<username>&sys:samlhash=<samlhash>