<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Convert All URLs from http to https
Access Gateway
Okta Classic Engine
Okta Identity Engine
Overview

Some of the http links for an application are not converted to https even when Content Rewrite is enabled, which is causing issues in some of the application's functionalities.

Applies To
  • Okta Access Gateway (OAG)
Cause

OAG only works with https. If some of the links are not being rewritten to use https, access errors can be noticed. 

Solution
  1. Edit the affected application and go to the Policies section.
  2. Edit root policy, and under the Advanced section, add the two directives below. These will convert all http links to https:
    proxy_redirect 'http://' 'https://';
    subs_filter 'http:// ' 'https:// ';
  3. Save the settings by clicking Okay in the Policies section, followed by Done to update the application.


In addition to the above, the $host variable can be used if only the port needs to be removed.

Loading
Convert All URLs from http to https