Skip to content

Commit e24b1ac

Browse files
committed
Additional changes as per the feedback
1 parent e1a729e commit e24b1ac

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

content/en/docs/appstore/use-content/platform-supported-content/modules/sap/sap-xsuaa-connector.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ By default, the Mendix login page will not allow the user to enter their SSO cre
125125
* Bypass the Mendix login page altogether and just display the XSUAA login page
126126

127127
{{% alert color="info" %}}
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=`.
128+
To configure a page/microflow URL, follow the steps mentioned in the subsections below. If you are using the Deep Link module, make sure the **LoginLocation** constant is set to `/xsauaalogin/login?ret=`.
129129
{{% /alert %}}
130130

131131
#### Adding the SSO Login Button to the Login Page {#adding}
@@ -151,6 +151,15 @@ If login.html does not support XSUAA then you need to add the SSO login button t
151151

152152
6. Replace those lines with the following lines (or add them below the `<a>` element in the code above):
153153

154+
```html
155+
<a id="ssoButton" href="/xsauaalogin/" class="btn btn-default btn-lg">
156+
<img src="logo.png" />
157+
<span class="loginpage-signin">Sign in using XSUAA</span>
158+
</a>
159+
```
160+
161+
7. Add the below custom script to the **login.html**.
162+
154163
```html
155164
<script>
156165
document.getElementById("ssoButton").addEventListener("click", function (event) {
@@ -160,7 +169,7 @@ If login.html does not support XSUAA then you need to add the SSO login button t
160169
</script>
161170
```
162171

163-
7. Deploy and run your app. The XSUAA login button will look like this:
172+
8. Deploy and run your app. The XSUAA login button will look like this:
164173

165174
{{< figure src="/attachments/appstore/platform-supported-content/modules/sap-xsuaa-connector/sso-login-screen.png" class="no-border" >}}
166175

0 commit comments

Comments
 (0)