~ DO NOT REMOVE COPYRIGHT NOTICES OR THIS HEADER. ~ Copyright (c) 2012 ForgeRock Inc. All rights reserved. ~ The contents of this file are subject to the terms ~ of the Common Development and Distribution License ~ (the License). You may not use this file except in ~ compliance with the License. ~ You can obtain a copy of the License at ~ See the License for the specific language governing ~ permission and limitations under the License. ~ When distributing Covered Code, include this CDDL ~ Header Notice in each file and include the License file ~ If applicable, add the following below the CDDL Header, ~ with the fields enclosed by brackets [] replaced by ~ your own identifying information: ~ "Portions Copyrighted [2012] [ForgeRock Inc]" <
title>The OpenAM OAuth2 Demo Page</
title>
<
meta http-
equiv="X-UA-Compatible" content="chrome=1">
<
meta name="apple-mobile-web-app-capable" content="yes">
<
meta name="apple-mobile-web-app-status-bar-style" content="black">
content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=1.0; user-scalable=no;">
<
div id="dialogContainer" class="radious">
<
div id="dialogContent"></
div>
<
div id="dialogActions"></
div>
<
div class="clear"></
div>
height="60" alt="idm logo"/> </
a>
<
div class="clear"></
div>
<
li class="active-first"><
a href="index.html" title="home">Home</
a></
li>
target="_blank">OpenAM</
a></
li>
target="_blank">OpenDJ</
a></
li>
class="last">OpenIDM</
a></
li>
<
a href="#" id="home_link" class="gray nodecorate"><
span class="orange">Forge</
span>Rock</
a>
<
span style="display: inline;">Test Page</
span>
<
div id="messages"></
div>
<
div class="clear"></
div>
<
div style="display: block;" id="content">
<
h2 class="floatLeft">Test OAuth2 authentication flows</
h2>
<
div class="clear"></
div>
<
div class="shadowFrame">
<
label>Scope (space separated)</
label>
<
input name="scope" type="text"> <
span class="error">x</
span>
<
div class="validationMessage"></
div>
<
div class="clear"></
div>
<
label>Approval Prompt</
label>
<
select name="oa_approval_prompt">
<
option selected="selected" value="">Please Select
<
option value="auto">Auto which indicates that a user
would only need to grant access the first time
<
option value="force">Force to direct the user to a
consent page even if he has already granted access
<
div class="validationMessage"></
div>
<
label>Display Type</
label>
<
select name="oa_display">
<
option selected="selected" value="">Please Select
<
option value="iframe">Display the dialog in a lightbox
<
option value="page">By default, dialogs run in
<
option value="popup">For use in a browser popup no
bigger than 400px by 580px
<
option value="touch">Used on smartphone mobile
<
option value="wap">Display plain HTML (without
JavaScript) on a small screen
<
div class="validationMessage"></
div>
<
label>Custom action</
label>
<
option selected="selected" value="">Please Select
<
option value="flush_token">Delete existing access_token
<
div class="validationMessage"></
div>
<
label>Authentication Mode</
label>
<
option selected="selected" value="">Please Select
<
option value="HTTP_HEADER">Header (ChallengeResponse)
<
option value="HTTP_QUERY">Query parameter</
option>
<
optgroup label="----------"></
optgroup>
<
option value="HTTP_FRAGMENT">URI Fragment (There is no
<
option value="HTTP_BODY">Messsage Entity (There is no
<
div class="validationMessage"></
div>
<
label>Authentication Flow</
label>
<
option selected="selected" value="">Please Select
<
option value="AUTHORIZATION_CODE">Authorization Code
<
option value="IMPLICIT">Implicit Flow</
option>
<
option value="PASSWORD">Resource Owner Password Flow
<
option value="CLIENT_CREDENTIALS">Client Credentials
<
option value="REFRESH_TOKEN">Refresh Token</
option>
<
option value="SAML20_INSERTION">SAML20 Insertion (Not
<
div class="validationMessage">
<
input class="check" name="dynamicEndpoint" value="yes" type="checkbox"> <
label class="check">Use dynamic
<
div class="validationMessage"></
div>
<
input name="execute" class="button gray" value="Submit test request" <
div id="footer-content">
alt="aRockGroupCompany" width="228" <
a href="mailto: info@forgerock.com" class="orange">info@forgerock.com</
a>, or phone +47
Copyright © 2012 ForgeRock, all rights reserved.