authorize.ftl revision 3c4b36629c44834e885336cbcd885a28816d08ac
2N/A<!DOCTYPE html>
2N/A<!--
2N/A ~ DO NOT REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2N/A ~
2N/A ~ Copyright 2012-2015 ForgeRock AS.
2N/A ~
2N/A ~ The contents of this file are subject to the terms
2N/A ~ of the Common Development and Distribution License
2N/A ~ (the License). You may not use this file except in
2N/A ~ compliance with the License.
2N/A ~
2N/A ~ You can obtain a copy of the License at
2N/A ~ http://forgerock.org/license/CDDLv1.0.html
2N/A ~ See the License for the specific language governing
2N/A ~ permission and limitations under the License.
2N/A ~
2N/A ~ When distributing Covered Code, include this CDDL
2N/A ~ Header Notice in each file and include the License file
2N/A ~ at http://forgerock.org/license/CDDLv1.0.html
2N/A ~ If applicable, add the following below the CDDL Header,
2N/A ~ with the fields enclosed by brackets [] replaced by
2N/A ~ your own identifying information:
2N/A ~ "Portions Copyrighted [year] [name of copyright owner]"
2N/A ~
2N/A ~ Portions Copyrighted 2014 Nomura Research Institute, Ltd
2N/A -->
2N/A<html lang="en">
2N/A <head>
2N/A <meta charset="utf-8">
2N/A <meta http-equiv="X-UA-Compatible" content="IE=edge">
2N/A <meta name="viewport" content="width=device-width, initial-scale=1">
2N/A <meta name="description" content="OAuth2 Authorization">
2N/A <title>OAuth2 Authorization Server</title>
2N/A </head>
2N/A
2N/A <body style="display:none">
2N/A <div id="wrapper">Loading...</div>
2N/A <footer id="footer" class="footer"></footer>
2N/A <script type="text/javascript">
2N/A pageData = {
2N/A <#if realm??>realm: "${realm?js_string}",</#if>
2N/A baseUrl : "${baseUrl?js_string}/XUI",
2N/A oauth2Data: {
2N/A <#if redirect_uri??>redirectUri: "${redirect_uri?js_string}",</#if>
2N/A <#if scope??>scope: "${scope?js_string}",</#if>
2N/A <#if state??>state: "${state?js_string}",</#if>
2N/A <#if nonce??>nonce: "${nonce?js_string}",</#if>
2N/A <#if acr??>acr: "${acr?js_string}",</#if>
2N/A <#if display_description??>displayDescription: "${display_description?js_string}",</#if>
2N/A <#if response_type??>responseType: "${response_type?js_string}",</#if>
2N/A <#if client_id??>clientId: "${client_id?js_string}",</#if>
2N/A formTarget: "${(target!'.')?js_string}",
2N/A <#if display_name??>displayName: "${display_name?js_string}",</#if>
2N/A <#if user_name??>userName: "${user_name?js_string}",</#if>
2N/A displayScopes: []
2N/A }
2N/A };
2N/A <#list display_scope as r>pageData.oauth2Data.displayScopes.push({"name":"${r?js_string}"});</#list>
2N/A </script>
2N/A <script data-main="${baseUrl?html}/XUI/main-authorize" src="${baseUrl?html}/XUI/libs/requirejs-2.1.14-min.js"></script>
2N/A </body>
2N/A</html>
2N/A