Set header correctly and use current url as returnUrl when checking session
This commit is contained in:
1 parent
0470844f4a
commit
eceb370bfa
2 files changed
+2
-2
No files matched your search
@@ -66,7 +66,7 @@ export default class AuthenticationClient {
|
||||
}
|
||||
|
||||
checkSession(resolve, reject) {
|
||||
this.webAuth.checkSession({state: {}}, (err, result) => {
|
||||
this.webAuth.checkSession({state: {returnUrl: window.location.href}}, (err, result) => {
|
||||
if (err) {
|
||||
return reject(err || 'Re-authentication failed');
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user