From c86566db261fcd867d86bf27fc8b96931b00e6d5 Mon Sep 17 00:00:00 2001
From: Bruno Freitas <bfreitas@gitlab.com>
Date: Mon, 12 Dec 2022 00:18:23 +0000
Subject: [PATCH] Command to decode the SAML response offline

---
 doc/user/group/saml_sso/troubleshooting.md | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/doc/user/group/saml_sso/troubleshooting.md b/doc/user/group/saml_sso/troubleshooting.md
index 048a8b461b457..521bec04c4a38 100644
--- a/doc/user/group/saml_sso/troubleshooting.md
+++ b/doc/user/group/saml_sso/troubleshooting.md
@@ -96,7 +96,14 @@ In these cases, use one of the [SAML debugging tools](#saml-debugging-tools), or
 a group owner can get a copy of the SAML response from when they select
 the "Verify SAML Configuration" button on the group SSO Settings page.
 
-Use a base64 decoder to see a human-readable version of the SAML response.
+Use a base64 decoder to see a human-readable version of the SAML response. To avoid pasting the SAML response online to decode it, you can use your
+browser's console in the developers tools:
+
+```javascript
+atob(decodeURI("<paste_SAML_response_here>"))
+```
+
+You should get the SAML response in XML format as output.
 
 ## Configuration errors
 
-- 
GitLab