Configuring SSO Resources
Create resources individually by adding one resource for each of your application's URLs, or use regular expression to create a resource which represents a collection of URLs for your application.
Policy mapping is hierarchical in App Gateway. So, order of the resources defined is important. See the following example:
/myapp/logout.html
, and we have authentication policy in below order: /.*
(public)/.*/logout.html
(Form+logout)
/.*
) and the same policy is applied which is "public" in this case./myapp/logout.html
and we have authentication policy in below order./.*/logout.html
(Form+logout)/.*
(public)
/.*/logout.html
) and same policy is applied which is "Form+logout".Something else to be aware of is that applications which do their own login integrations can run into problems when their integrations accessed static resources during login, but the resources weren't made public. This causes the login process to fail. To avoid this happening, you should use the public
authentication method for your public static resources such as CSS, JavaScript, image files as follows:
- Group all public static resources together, for example under
/myapp/public/resources
. -
State that these directories should use the
public
authentication method using a regex such as/myapp/public/.*
.
To configure resources: