MATLAB Answers

How do I send a SAML assertion to MathWorks?

7 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 21 Jul 2021
Edited: MathWorks Support Team on 21 Jul 2021
Generating a SAML assertion will help us understand in details what is happening with the errors/issues you are facing when a user links to your Campus-Wide License via the portal.
To generate a SAML assertion you will need to reproduce the issue first. To do so, reach your University MATLAB portal and click on the "Sign in to get started" button. A new tab will open.
In the new opened tab, follow the procedure below (before to login) based on your browser. This will allow you to record and view your SAML assertion.
Note: If you have already a plug-in or tool you could use to generate a SAML assertion (i.e. SAML Message Decoder plugin), feel free to use it instead.
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.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!