question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to latest build - ERROR: Cannot read property 'customTokenParameters' of null

See original GitHub issue

working with angular 10

I’m getting these error when trying to upgrade from:

"angular-oauth2-oidc": "9.0.1" to: "angular-oauth2-oidc": "10.0.2"

the error: vendor.js:62515 ERROR TypeError: Cannot read property 'customTokenParameters' of null at OAuthService.extractRecognizedCustomParameters (vendor.js:168474) at SafeSubscriber._next (vendor.js:167159) at SafeSubscriber.__tryOrUnsub (vendor.js:216241) at SafeSubscriber.next (vendor.js:216180) at Subscriber._next (vendor.js:216130) at Subscriber.next (vendor.js:216107) at MapSubscriber._next (vendor.js:220608) at MapSubscriber.next (vendor.js:216107) at FilterSubscriber._next (vendor.js:220121) at FilterSubscriber.next (vendor.js:216107)

packages “@angular/common”: “^10.0.1”, “@angular/core”: “^10.0.1”, “angular-oauth2-oidc”: “^10.0.2”, “angular-oauth2-oidc-jwks”: “^9.0.0”,

Desktop (please complete the following information):

OS: Windows 10 Browser chrome Version latest

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
davidk85commented, Jul 9, 2020

Getting the same error in 10.0.2

Version 10.0.3 works for me 😃. Thanks

0reactions
Mage111commented, Jul 9, 2020

works for me too! thanks for your quick solution!

Read more comments on GitHub >

github_iconTop Results From Across the Web

OAuthService config is null after the page is reloaded #872
ERROR TypeError : Cannot read property 'customTokenParameters' of null at OAuthService.logOut (angular-oauth2-oidc.js:2128).
Read more >
TypeError: Cannot read property 'token' of null - Stack Overflow
It is possible when you don't have any current user. So just return when there is no current user if(!this.auth.getCurrentUser()){ return ...
Read more >
OAuthService - angular-oauth2-oidc
Retrieve a saved custom property of the TokenReponse object. Only if predefined in authconfig. Parameters : Name, Type, Optional. requestedProperty, string, No ......
Read more >
DataGrid - The "Cannot read property 'css' of null" error occurs ...
I receive the following error after upgrading to version 19.2.5 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'css' ...
Read more >
Cannot read property 'graphiteVersion' of null - SexiGraf
After upgrading to 0.99f version, you get this error on any dashboard: Starting from Grafana 4.5, the version of the graphite datasource is ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found