Skip to content

Multiple issues in Version 2.1.1 #51

@mausumit

Description

@mausumit

Hi,

I am also facing some issue with v2.1.1.

1.The app loads 2-3 times. After that I see two errors in console

  1. ERROR TypeError: Cannot read property '4730d8bd-c126-49b3-9714-e7c2c3f56b09|427757c9-9aeb-488c-b149-db1d54c2c3c4' of undefined
    at Adal5Service.push../node_modules/adal-angular5/esm5/adal-angular5.js.Adal5Service.handleWindowCallback (adal-angular5.js:77)

  2. ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'access_token'
    Error: Cannot match any routes. URL Segment: 'access_token'.

Now if I reload the page, the erros are gone.
4. I am using a version 2.1.1. In node_modules\adal-angular5\esm5\adal-angular5.js the Observable is imported as "import { Observable as Observable$1 } from 'rxjs/Rx';" but in function below 'Observable ' is used instead of 'Observable$1) which is throwing error.

  1. In sendRequest method, the token is appended twice and API authorization is failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions