[REGRESSION] CAS (#1570)

This commit is contained in:
Diego Mello 2020-01-13 09:23:14 -03:00 committed by GitHub
parent 32bba0fc53
commit 2e3240469d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class AuthenticationWebView extends React.PureComponent {
const { navigation } = this.props; const { navigation } = this.props;
const ssoToken = navigation.getParam('ssoToken'); const ssoToken = navigation.getParam('ssoToken');
if (url.includes('ticket') || url.includes('validate')) { if (url.includes('ticket') || url.includes('validate')) {
const payload = { cas: ssoToken }; const payload = { cas: { credentialToken: ssoToken } };
// We need to set a timeout when the login is done with SSO in order to make it work on our side. // We need to set a timeout when the login is done with SSO in order to make it work on our side.
// It is actually due to the SSO server processing the response. // It is actually due to the SSO server processing the response.
setTimeout(() => { setTimeout(() => {