# SSO embed tools and troubleshooting resources

**URL:** <https://discuss.google.dev/t/sso-embed-tools-and-troubleshooting-resources/120798>\
**Category:** Looker\
**Created:** [November 4, 2020, 6:34am UTC](https://discuss.google.dev/t/sso-embed-tools-and-troubleshooting-resources/120798 "2020-11-04T06:34:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paola1](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@paola1](https://discuss.google.dev/u/paola1)\
**Post date:** [November 4, 2020, 6:34am UTC](https://discuss.google.dev/t/sso-embed-tools-and-troubleshooting-resources/120798/1 "2020-11-04T06:34:00Z")

</div>

It can be challenging to create an [SSO embed](https://docs.looker.com/reference/embedding/sso-embed) script and troubleshoot when errors appear. Here are some helpful tools and tricks you can use to troubleshoot:

### Embed URI validator in the [**Embed**](https://docs.looker.com/admin-options/platform/embed) page in Looker’s Admin panel

Common messages that may appear:

- **signature param failed to authenticate**

- **Uh Oh something went wrong** 

- **Time param is not within 5 minutes of the server’s system time**

- **This request includes invalid params​**

### 

### ​[URL Decoder/Encoder](https://meyerweb.com/eric/tools/dencoder/)​ to view and troubleshoot individual URL parameters

When troubleshooting pieces of the SSO URL, the order of parameters listed in the URL decoder/encoder does not matter. However, the order **_does_** matter in the[signature generation section of the script](https://docs.looker.com/reference/embedding/sso-embed#signature).

Check the [permissions](https://docs.looker.com/reference/embedding/sso-embed#permissions) and [model access](https://docs.looker.com/reference/embedding/sso-embed#model_access) that is listed, and whether they are appropriate for the content that is being embedded.

### Your browser’s JavaScript console (Opt+Command+J) and Network tab (Opt+Command+I)

Check that the network tab shows a login event _and_ the event that embeds the content.

### 

Fabio’s[SSO Embed Generator Tool](https://fabio-looker.github.io/looker_sso_tool/)

Plug in the parameter specifications you are using in your embed URL.:

- If this works, then the SSO embed secret and other information in the parameters is correct. This indicates that something in the URL generation script itself is probably the cause of the error.

- If this does not work, then something that is defined in the SSO URL parameters is not correct (check permissions, model access, possibly reset the SSO embed secret).

### 

If you have Admin permissions, [sudo](https://docs.looker.com/admin-options/settings/users#impersonating_(sudoing)_users) as the embed user

Can you see the content when sudoed as the embed user? If not, then it’s most likely a permissions, model access, or folder permissions issue in the URL parameters.

If you do not see the embed user listed in the **Users** page in the Looker Admin panel, then the user is not being created and the embed URL is failing. Try troubleshooting the URL with some of the other troubleshooting resources listed on this page.

### Fabio’s[SSO Embed Troubleshooting Tool](https://fabio-looker.github.io/looker_sso_tool/sso-embed-troubleshooting.html)​

Click the error messages you are seeing when accessing your SSO embed link.

### ​[Looker’s example scripts](https://github.com/looker/looker_embed_sso_examples)​

Compare Looker’s examples to your own script. Make sure the order is correct in the signature generation, and that you’re not missing any information in your URL.

### ​`[create_sso_embed_url](https://docs.looker.com/reference/api-and-integration/api-reference/v3.1/auth)` API call

This is one of the quickest ways to generate embed URLs for testing.

**If none of the above troubleshooting resources are working,** and you are seeing `401` errors, this might be a [third party cookie](https://docs.looker.com/reference/embedding/sso-embed#proper_hosting_for_sso_embedding) issue. Check your browser’s settings that affect third party cookies.
