Warning about access token fail
This commit is contained in:
1 parent
c0ddf5a6c6
commit
5cd9d8c819
1 file changed
+1
@@ -20,6 +20,7 @@ OHIF.user.getAccessToken = () => {
|
||||
// TODO: Get the Redux store from somewhere else
|
||||
const state = window.store.getState()
|
||||
if (!state.oidc || !state.oidc.user) {
|
||||
console.warn('failed to grab access token')
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user