The OAuth manager (/oauth/manager) can be slow to load sometimes taking several minutes to render the page.
This applies to the login screen as well as all client and token management. While the pages will eventually load without any noticeable errors there are extreme delays.
When there are no other contributing factors, such as network latency, this problem typically stems from a failure to load the "jquery.min.js" Javascript.
This is loaded as part of each screen and if inaccessible will severely delay the load time.
To resolve the issue we will need to load the jquery script using ONE of these methods:
1. Ensure https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js is accessible from your Gateway. This can be done with a simple curl command via SSH. If this is not accessible you will need to configure access from your network or edit the firewall rules to allow access
[[email protected]]# curl -v https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
2. Host the file internally on a web server accessible to the Gateway. The variable named 'js' can be changed in the below policies and the script source set to your internally hosted file.
<Please see attached file for image>
style="" src="/servlet/servlet.FileDownload?file=0150c000004AKH9AAO" alt="policies.png" width="351" height="73"><Please see attached file for image>
src="/servlet/servlet.FileDownload?file=0150c000004AKH7AAO" alt="js.png" width="1111" height="618">
3. Lastly, you can embed the jquery script directly in the variable
<Please see attached file for image>
style="" src="/servlet/servlet.FileDownload?file=0150c000004AKH8AAO" alt="min.png" width="893" height="503">
As of OTK 4.1 these changes can be made, however please be advised that in the future these policies will be read only and this changes will no be possible through a direct change.