diff --git a/boilerplate/app/modules/login/login.sagas.js.ejs b/boilerplate/app/modules/login/login.sagas.js.ejs index 474fcdfef..c0d3adadc 100644 --- a/boilerplate/app/modules/login/login.sagas.js.ejs +++ b/boilerplate/app/modules/login/login.sagas.js.ejs @@ -51,6 +51,9 @@ export function * login (api) { } } else { yield put(LoginActions.loginFailure((authInfo.data && authInfo.data.detail) || 'Could not connect to OAuth2 Provider')) + if (!authInfo.data) { + alert('Failed to fetch Auth Provider information from the backend API.') + } } }