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

Multiple issues in Version 2.1.1 #51

Open
mausumit opened this issue Dec 26, 2018 · 1 comment
Open

Multiple issues in Version 2.1.1 #51

mausumit opened this issue Dec 26, 2018 · 1 comment

Comments

@mausumit
Copy link

mausumit commented Dec 26, 2018

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.
@mausumit
Copy link
Author

@grumar Can you please help me out in fixing these?

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