Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RocketChat
Rocket.Chat.ReactNative
Commits
2e324046
Unverified
Commit
2e324046
authored
Jan 13, 2020
by
Diego Mello
Committed by
GitHub
Jan 13, 2020
Browse files
[REGRESSION] CAS (#1570)
parent
32bba0fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/views/AuthenticationWebView.js
View file @
2e324046
...
...
@@ -73,7 +73,7 @@ class AuthenticationWebView extends React.PureComponent {
const
{
navigation
}
=
this
.
props
;
const
ssoToken
=
navigation
.
getParam
(
'
ssoToken
'
);
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.
// It is actually due to the SSO server processing the response.
setTimeout
(()
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment