Implement OAuth2 service provider functionality.
Этот коммит содержится в:
21
web/react/pages/authorize.jsx
Обычный файл
21
web/react/pages/authorize.jsx
Обычный файл
@@ -0,0 +1,21 @@
|
||||
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
var Authorize = require('../components/authorize.jsx');
|
||||
|
||||
function setupAuthorizePage(teamName, appName, responseType, clientId, redirectUri, scope, state) {
|
||||
React.render(
|
||||
<Authorize
|
||||
teamName={teamName}
|
||||
appName={appName}
|
||||
responseType={responseType}
|
||||
clientId={clientId}
|
||||
redirectUri={redirectUri}
|
||||
scope={scope}
|
||||
state={state}
|
||||
/>,
|
||||
document.getElementById('authorize')
|
||||
);
|
||||
}
|
||||
|
||||
global.window.setup_authorize_page = setupAuthorizePage;
|
||||
Ссылка в новой задаче
Block a user