Web API: saml2/acs: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
(Created page with "'''Samlsignin''' method accepts the SAML assertion from the identity provider and responses with the http status code 302 (Found) with an url to QPR ProcessAnalyzer containing...")
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Samlsignin''' method accepts the SAML assertion from the identity provider and responses with the http status code 302 (Found) with an url to QPR ProcessAnalyzer containing the samlhash parameter (which can then be used in 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: https://customer/qprpa/ui/#?sys:username=<username>&sys:samlhash=<samlhash>
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>