When two Secure Web Authentication (SWA) apps created using the Application Integration Wizard (AIW) have similar URLs, and the only difference between them is a parameter that contains a different value, the Okta browser plugin will pop up a window for logging into the other application with the credentials from that application.
- SWA apps created using the Application Integration Wizard(AIW)
- Template plugin app
- Okta Browser Plugin
- Similar Login URLs
- Regex Regular Expression
The Okta browser plugin does not detect the whole URL and may confuse the app that the user is trying to log into with the second one, which has a similar URL but different credentials.
This would be expected behavior as this applies to all SWA applications created with the App Integration Wizard, which have similar Login URLs, as the Okta browser plugin does not detect the whole URL that includes the parameters.
The workaround for this would be to go to Applications > Applications > Browse App Catalog and find the Template plugin app.
NOTE: All SWA applications with similar URLs need to be created using the Template plugin app. Users must be assigned to the newly created apps and unassigned from the old apps; otherwise, the solution will not work.
Setting up the Template plugin app may involve following the steps outlined in the knowledge article below:
In addition to setting up the template plugin app, create a Regular Expression so the Okta Browser Plugin can detect the correct URL used to access the application. Add the expression into the Regular Expression filed of the Template plugin app that was created. Rewrite the URL in the template to reflect the Regex format.
- For example, if the Login URL is
https://www.something.com?urlkey=randomvalue, then the Regex Regular Expression should look like the one below:^https://www\.something\.com\?urlkey=randomvalue
NOTE: Observe that when trying to build a Regex Regular Expression for a URL, it is necessary to start with ^ and before any point(.) or question mark (?) symbols, it is necessary to add a backslash(\). Also, there is no need to add the backslash for symbols such as %, &, =.
For any additional questions, please open a case with Okta Support and reference this article.
