aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-auth/src/main/resources/validation-redirection.html
blob: 518c6f16505480c6d2449479fd32285f11c294dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="application-name" content="SonarQube"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" charset="UTF-8"/>
    <title>SAML Authentication Test</title>
</head>

<body>
    <h1>SAML Authentication Validation</h1>
    <form id="saml_validate" action="%VALIDATION_URL%" method="POST">
        <input name="SAMLResponse" value="%SAML_RESPONSE%" type="hidden"/>
        <input name="CSRFToken" value="%CSRF_TOKEN%" type="hidden"/>
        <button>Click Here to See Result</button>
    </form>
</body>
<script nonce="%NONCE%">
    document.getElementById('saml_validate').submit();
</script>
</html>