10
Collecting SAML Trace

Collecting SAML Trace

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Collecting SAML Trace

Collecting SAML

Trace

Page 2: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 2

Table of content

1 Introduction ............................................................................................................................................................. 3

2 Google Chrome & MS Edge Chromium ................................................................................................................. 3

2.1 Adding SAML Tracer Extention ......................................................................................................................... 3

2.2 Collect data with SAML Tracer ..................................................................................................................... 3

2.3 Collect data without SAML Tracer .................................................................................................................... 4

3 Microsoft Edge (IE / non chromium based) ............................................................................................................ 6

3.1 Collect data with MS Edge ................................................................................................................................. 6

4 Mozilla Firefox.......................................................................................................................................................... 8

4.1 Adding SAML Tracer AddOn ............................................................................................................................. 8

4.2 Collect data with SAML Tracer ..................................................................................................................... 8

4.3 Collect data without SAML Tracer .................................................................................................................... 9

5 Apple Safari ........................................................................................................................................................... 10

5.1 Collect data with Safari .................................................................................................................................... 10

Page 3: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 3

1 Introduction

This document is intended to help you create a SAML trace for us to debug authentication problems

We recommend to install the saml-tracer extension for your browser if possible. It makes things easier. It can also be done via developer console of the browser.

Before you start to create the trace, it is important to close all other browser windows and empty the browser cache beforehand

Please send us the trace file together with a screen print of the whole browser window including the URL you are trying to log in to.

2 Google Chrome & MS Edge Chromium

2.1 Adding SAML Tracer Extention

SAML-Tracer Extention can be found here: https://chrome.google.com/webstore/detail/saml-tracer/mpdajninpobndbfcldcmbpnnbhibjmch

Add to your browser

This is a tool for viewing SAML messages sent through the browser during single sign-on and single logout.

If you cannot install the extension, go to step 2.3

If it was successful, continue with Step 2.2

2.2 Collect data with SAML Tracer

1. Close all browser windows and open an new window 2. Open SAML Tracer (Tracer Window will open)

Page 4: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 4

3. Reproduce the issue 4. Export the output (this will create a json file)

2.3 Collect data without SAML Tracer

1. Close all browser windows and open an new window 2. Press F12 to start the developer console. (Alternative: More Tools ->

Developer Tools

3. Select the Network tab, and then select Preserve log. 4. Reproduce the issue. 5. Export HAR with the arrow shown in the below image

Page 5: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 5

Page 6: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 6

3 Microsoft Edge (IE / non chromium

based)

3.1 Collect data with MS Edge

1. Close all browser windows and open an new window 2. Press F12 to start the developer console. (Alternative: More Tools ->

Developer Tools/DevTools) 3. Select the Network tab, and then select Preserve log

4. Deactivate the item "Delete entries while navigating" (marked red in the image)

5. Reproduce the issue: The developer tools will now automatically switch to the "Debugger" tab and stop further execution of the application. Now click on the small green start button in the upper left corner of the developer tools (marked red in the image) to continue

Page 7: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 7

6. After that you can continue the login process to the application until you reach the occurring error.

7. As soon as the login process cannot be continued or the reported error occurs, switch to the "Network" tab within the developer tools and export the results as a .har (marked red in the image)

Page 8: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 8

4 Mozilla Firefox

4.1 Adding SAML Tracer AddOn

SAML-Tracer Extention can be found here: https://addons.mozilla.org/en-Us/firefox/addon/saml-tracer/

Add to your browser

This is a tool for viewing SAML messages sent through the browser during single sign-on and single logout

If you cannot install the extension, go to step 4.3

If it was successful, continue with step 4.2

4.2 Collect data with SAML Tracer

1. Close all browser windows and open an new window 2. Open SAML Tracer (Tracer Window will open)

3. Reproduce the issue 4. Export the output (this will create a json file)

Page 9: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 9

4.3 Collect data without SAML Tracer

1. Close all browser windows and open a new window. 2. Press F12 to start the developer console. (Alternative: More Tools -> Web

Developer -> Web Developer Tools 3. In the upper right of the developer tools window, click options (the small gear

icon). Under Common Preferences select Enable persistent logs. 4. Select the Network tab.

or

5. Reproduce the issue. 6. Export HAR

Page 10: Collecting SAML Trace

Guide «Collecting SAML Trace»

15 October 2021

Standarddienst eIAM | 10

5 Apple Safari

5.1 Collect data with Safari

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 Develop -> Show Web Inspector

4. Select the Network tab and enable Preserve Log.

5. Reproduce the issue. 6. Export HAR