Fix GitLab Implicit OAuth (#1439)

This commit is contained in:
Caleb 2018-06-14 08:54:53 -06:00 committed by Shawn Erquhart
parent a7891e9f1c
commit 69ee5ecc78

View File

@ -18,7 +18,7 @@ export default class AuthenticationPage extends React.Component {
this.auth = new ImplicitAuthenticator({
base_url: this.props.config.getIn(['backend', 'base_url'], "https://gitlab.com"),
auth_endpoint: this.props.config.getIn(['backend', 'auth_endpoint'], 'oauth/authorize'),
appID: this.props.config.getIn(['backend', 'app_id']),
app_id: this.props.config.getIn(['backend', 'app_id']),
});
// Complete implicit authentication if we were redirected back to from the provider.
this.auth.completeAuth((err, data) => {