You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/appstore/use-content/platform-supported-content/modules/sap/sap-xsuaa-connector.md
+8-29Lines changed: 8 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ By default, the Mendix login page will not allow the user to enter their SSO cre
125
125
* Bypass the Mendix login page altogether and just display the XSUAA login page
126
126
127
127
{{% alert color="info" %}}
128
-
If you are using the [Deep Link](/appstore/modules/deep-link/) module, you will also need to set the **LoginLocation** constant to `/xsauaalogin/login?ret=`.
128
+
The page/microflow URL is used to redirect users to the desired page. If you are using the [Deep Link](/appstore/modules/deep-link/) module, you will also need to set the **LoginLocation** constant to `/xsauaalogin/login?ret=`.
129
129
{{% /alert %}}
130
130
131
131
#### Adding the SSO Login Button to the Login Page {#adding}
@@ -152,10 +152,12 @@ If login.html does not support XSUAA then you need to add the SSO login button t
152
152
6. Replace those lines with the following lines (or add them below the `<a>` element in the code above):
To redirect the users to the desired page using page and microflow URLs, follow the steps below:
194
-
195
-
1. To use the Page URL functionality, replace the content of `login.html` with the content of `login-with-mendixsso-automatically.html` (located in the `resources\mendixsso\templates` folder) and save it as `login.html`.
196
-
197
-
2. To implement the SSO redirection, you will need to replace the code in the `<script>` tag of your login page (for example, `login.html`) with code which does one of the following, depending on whether you want automatic or manual redirection:
198
-
199
-
* For automatic redirection, you can use `window.onload` to redirect users to the SSO login page automatically. You could, for example, use the following code:
Once the above changes are applied, end users can directly navigate to the desired page. If not logged in, they will be redirected to the IdP login page for authentication. After successful log in, they will be directed to the desired page using page and microflow URLs.
213
-
214
193
### Configuring the SAP BTP Subaccount
215
194
216
195
Your app is configured to use an IdP. Now you need to configure the IdP and allocate users to roles. This is performed in the [SAP Business Technology Platform cockpit](https://account.hana.ondemand.com/cockpit#/home/allaccounts).
0 commit comments