Merge pull request #915 from mattermost/plt-300

PLT-300 Update allow/deny oauth page UI, and add ouath as reserved word.
This commit is contained in:
Christopher Speller
2015-10-05 10:32:27 -04:00
5 changed files with 63 additions and 28 deletions

View File

@@ -3,16 +3,16 @@
var Authorize = require('../components/authorize.jsx');
function setupAuthorizePage(teamName, appName, responseType, clientId, redirectUri, scope, state) {
function setupAuthorizePage(props) {
React.render(
<Authorize
teamName={teamName}
appName={appName}
responseType={responseType}
clientId={clientId}
redirectUri={redirectUri}
scope={scope}
state={state}
teamName={props.TeamName}
appName={props.AppName}
responseType={props.ResponseType}
clientId={props.ClientId}
redirectUri={props.RedirectUri}
scope={props.Scope}
state={props.State}
/>,
document.getElementById('authorize')
);