# Tableau Server blocking the OAuth Flow

**URL:** <https://community.cdata.com/t/tableau-server-blocking-the-oauth-flow/288>\
**Category:** Editions\
**Tags:** article, tableau\
**Created:** [July 25, 2023, 8:13pm UTC](https://community.cdata.com/t/tableau-server-blocking-the-oauth-flow/288 "2023-07-25T20:13:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luçjano\_Capo](https://sea3.discourse-cdn.com/cdata/user_avatar/community.cdata.com/lu%C3%A7jano_capo/32/1638_2.png) [@Luçjano\_Capo](https://community.cdata.com/u/Lu%C3%A7jano_Capo)\
**Post date:** [July 25, 2023, 8:13pm UTC](https://community.cdata.com/t/tableau-server-blocking-the-oauth-flow/288/1 "2023-07-25T20:13:47Z")

</div>

Tableau Server does not have permission to redirect you to the browser. To fix this issue we are going to use the  **.jar**  file. Please follow the steps (I will be using the DynamicsCRM provider as an example).&nbsp;  
&nbsp;  
Go to C\*\*:\Program Files\CData\CData Tableau Connector for Microsoft Dynamics CRM 2022\lib\*\* and run the  **cdata.tableau.dynamicscrm.jar**  file. To do so, open your PowerShell and write these commands:

1. cd “C:\Program Files\CData\CData Tableau Connector for Microsoft Dynamics CRM 2022\lib”

2. java -jar .\cdata.tableau.dynamicscrm.jar

Fill in the required information and change the  **OAuthSettingsLocation**  to an accessible location, for example,  **C:\Users\Public\OAuthSettings.txt**.

 ![827f1c12-5dc7-473d-bd4d-0426d96eae15.png](https://us1.discourse-cdn.com/cdata/original/1X/d2fc64958f9b51a8b9b955ad060bbf746fee5893.png)

After clicking  **Test Connection** , this method will redirect you to the browser and you be able to grant access. A file called  **OAuthSettings.txt**  will also be created in the  **C:\Users\Public**  path.&nbsp;  
&nbsp;  
To access your data, you can open the Tableau Server and provide the necessary information. Remember to specify the identical path in the  **OAuth Settings Location**  as the one in the  **.jar**  file, which in this case is  **C:\Users\Public\OAuthSettings.txt**. This will enable the driver to use the existing connection and grant you access to your data.

 ![dd8f79e4-3f7f-4d72-88c0-d4a783c1d64c.png](https://us1.discourse-cdn.com/cdata/original/2X/0/04d3e223e7aca728c1ae182c015e32656096c9e1.png)
