MATLAB Answers

How do I send a SAML assertion to MathWorks?

20 views (last 30 days)
The MathWorks Install Support team requested a SAML assertion to troubleshoot my Shibboleth authentification issue. How can I generate one?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 22 Feb 2020
Edited: MathWorks Support Team on 22 Feb 2020
To generate a SAML assertion you will have first to reproduce the issue that is occurring. To do so, reach your University MATLAB portal and click on the "Sign in to get started" button. A tab will open.
In the new tab that just opened, follow the procedure below (before to login) based on your browser to record and view your SAML assertion.
Google Chrome
1. Press F12 to start the developer console.
2. Select the Network tab, and then select Preserve log.
3. Login using your university credentials to reproduce the issue.
4. In the developer console pane, use the filter (search bar) to look for "POST" or "SAML". You should find a result called POST.
5. Right click on POST and "save all as HAR with content".
Mozilla Firefox
1. Press F12 to start the developer console.
2. Select the Network tab.
3. On the right side of the developer console select "Persist Logs".
4. Login using your university credentials to reproduce the issue.
5. Use the search bar to look for "POST" in the table.
6. Right click on that row and select "Save All As HAR".
Once saved, provide the HAR file generated via email.
Apple Safari
NOTE: Safari has security features that makes it difficult to retrieve SAML assertions. Please use another browser if you face difficulties following the steps bellow.
1. Enable Web Inspector in Safari. Open the Preferences window, select the Advanced tab, and then select Show Develop menu in the menu bar.
2. Now you can open Web Inspector. Click Develop, then select Show Web Inspector.
3. Select the Network tab and tick "Preserve Log" (clear your logs using the bin icon if needed).
4. Login using your university credentials to reproduce the issue.
5. Next to the "Filter Full URL" search bar, filter to "Document".
6. On the left pane, look for a file containing a "SAMLResponse" or "SAML2Reponse". If the file selected presents "An error occurred trying to load the resource." click on the drop down menu "Response" on the top right and select "Request".
7. Save the SAMLResponse in a file or copy/paste the response into your email.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

No tags entered yet.