Skip to content

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

@Sugihiru

Description

@Sugihiru

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions