|
10 | 10 | <blockquote> |
11 | 11 | <p>Select the authentication method and fill in the name of the application that the request should be redirected to after successful login.</p> |
12 | 12 | <h3>Test data</h3> |
13 | | - <p> |
14 | | - <strong>SAML 2.0 sample application</strong> |
15 | | - <div>Application: aspnetcore_saml_sample</div> |
16 | | - <i>The application redirect URL is optional</i> |
17 | | - <div>Application type: saml2</div> |
18 | | - </p> |
19 | | - <p> |
20 | | - <strong>OpenID Connect sample application</strong> |
21 | | - <div>Application: aspnet_oidc_allup_sample</div> |
22 | | - <div>Application redirect URL local: https://localhost:44349/home/secure and online: https://aspnetoidcsample.itfoxtec.com/home/secure</div> |
23 | | - <i>The redirect URL need to be configured as a redirect URL for the application.</i> |
24 | | - <div>Application type: oidc</div> |
25 | | - </p> |
| 13 | + @if (Model.OnlineSample) |
| 14 | + { |
| 15 | + <p> |
| 16 | + <strong>OpenID Connect sample application</strong> |
| 17 | + <div>Application: aspnet_oidc_allup_online_sample</div> |
| 18 | + <div>Application redirect URL: https://aspnetoidcsample.itfoxtec.com/home/secure</div> |
| 19 | + <i>The redirect URL need to be configured as a redirect URL for the application.</i> |
| 20 | + <div>Application type: oidc</div> |
| 21 | + </p> |
| 22 | + } |
| 23 | + else |
| 24 | + { |
| 25 | + <p> |
| 26 | + <strong>SAML 2.0 sample application</strong> |
| 27 | + <div>Application: aspnetcore_saml_sample</div> |
| 28 | + <i>The application redirect URL is optional</i> |
| 29 | + <div>Application type: saml2</div> |
| 30 | + </p> |
| 31 | + <p> |
| 32 | + <strong>OpenID Connect sample application</strong> |
| 33 | + <div>Application: aspnet_oidc_allup_sample</div> |
| 34 | + <div>Application redirect URL: https://localhost:44349/home/secure</div> |
| 35 | + <i>The redirect URL need to be configured as a redirect URL for the application.</i> |
| 36 | + <div>Application type: oidc</div> |
| 37 | + </p> |
| 38 | + } |
26 | 39 | </blockquote> |
27 | 40 | </div> |
28 | 41 | </div> |
|
0 commit comments