The SAML Test IdP can be used for testing and troubleshooting. It allows creating and sending SAML responses.
Java 8 runtime is required. Download the jar-file and start it from the command line using
java -jar samlTestIdP-2.1.3.jar
The output should look like this:
Modify and resend an existing SAML-response
One way to get a valid SAML-Response is to enable the Browsers Developer console during a SAML login and copy the POST data to from the POST-request to /plugins/servlet/samlsso after authenticating at the IdP:
The Test IdP application starts a Web Server on port 8443, so you should see this when browsing https://localhost:8443/:
Enter the copied POST-request and remove any other parameter and the SAMLResponse= so that there is the Base64-encoded message only.
Enter the SAMLSSO-url of the system you want to test (e.g. https://jira.test/plugins/servlet/samlsso) in the Destination URL field.
After submitting the form, the Base64 is decoded into XML and the form is shown again:
Now, you can modify the XML and send it.
Set it up as IdP
This IdP can be configured in the SAML addon configuration:
If you trigger SSO using this IdP, you will see this form:
Specify the information to send and click the send button on the bottom of the page.