Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cannot read property 'refresh_token'" on first time login #18

Open
Sugihiru opened this issue Oct 27, 2020 · 0 comments
Open

"Cannot read property 'refresh_token'" on first time login #18

Sugihiru opened this issue Oct 27, 2020 · 0 comments

Comments

@Sugihiru
Copy link

Steps :

  • Clone the repo, follow the README
  • Login with mifos/password, tenant "default", using a Private Navigation browser
  • A "Please wait" message appears while an error is displayed in the browser's console

Here's the full stacktrace from Google Chrome :
vendor.js:82730 ERROR TypeError: Cannot read property 'refresh_token' of null at AuthenticationService.push../src/app/core/authentication/authentication.service.ts.AuthenticationService.refreshOAuthAccessToken (main.js:991) at AuthenticationInterceptor.push../src/app/core/authentication/authentication.interceptor.ts.AuthenticationInterceptor.intercept (main.js:764) at HttpInterceptorHandler.push../node_modules/@angular/common/fesm5/http.js.HttpInterceptorHandler.handle (vendor.js:38435) at HttpXsrfInterceptor.push../node_modules/@angular/common/fesm5/http.js.HttpXsrfInterceptor.intercept (vendor.js:39035) at HttpInterceptorHandler.push../node_modules/@angular/common/fesm5/http.js.HttpInterceptorHandler.handle (vendor.js:38435) at HttpInterceptingHandler.push../node_modules/@angular/common/fesm5/http.js.HttpInterceptingHandler.handle (vendor.js:39072) at ErrorHandlerInterceptor.push../src/app/core/http/error-handler.interceptor.ts.ErrorHandlerInterceptor.intercept (main.js:1423) at HttpInterceptorHandler.push../src/app/core/http/http.service.ts.HttpInterceptorHandler.handle (main.js:1635) at ApiPrefixInterceptor.push../src/app/core/http/api-prefix.interceptor.ts.ApiPrefixInterceptor.intercept (main.js:1289) at HttpInterceptorHandler.push../src/app/core/http/http.service.ts.HttpInterceptorHandler.handle (main.js:1635) defaultErrorLogger @ vendor.js:82730

Firefox is returning a ERROR TypeError: oAuthData is null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant