Metadata error after update from 2.0.4 to 2.0.5
See original GitHub issueHello,
since the last update from 2.0.4 to 2.0.5 i’m getting the following error in my react web application after calling signInRedirectCallback(). Reverting back to 2.0.4 seems to work fine.
Any idea’s why it isn’t working anymore?
oidc-client-ts.js:105 [MetadataService] _getMetadataProperty('userinfo_endpoint'): Error: Metadata does not contain property userinfo_endpoint
at MetadataService._getMetadataProperty (oidc-client-ts.js:853:1)
at async UserInfoService.getClaims (oidc-client-ts.js:1065:1)
at async ResponseValidator._processClaims (oidc-client-ts.js:1370:1)
at async ResponseValidator.validateSigninResponse (oidc-client-ts.js:1273:1)
at async OidcClient.processSigninResponse (oidc-client-ts.js:1899:1)
at async UserManager._signinEnd (oidc-client-ts.js:3160:1)
at async UserManager.signinRedirectCallback (oidc-client-ts.js:2889:1)
Issue Analytics
- State:
- Created a year ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Requested (package) has different version in metadata #9203
In Airflow, we are experiencing problems when we are trying to use the PIP released 2 days ago which has the new resolver...
Read more >python - pip has problems with metadata - Stack Overflow
I'm running now: pip install -U pip and getting: (...) has inconsistent version: filename has '22.1.2', but metadata has '22.1.2' and pip goes ......
Read more >python setup.py egg_info did not run successfully. - You.com ...
[end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error...
Read more >Problem with apt-get update on Ubuntu 20.04 lts
The error shows up when the mirrors aren't in sync. Not all mirrors sync at the same time. I strongly suspect that somewhere...
Read more >Version 5.3.1 — Portal Release Notes 5.3.1 documentation
Not anymore silently ignoring errors when Rules Engine tries to add or remove from ... Save and Cancel buttons always shown on Batch...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The type file has not changed much. Specifically
AbstractChildWindow
did not change at all, there are some addition else where, which do not explain why it should not work. Diff: diff_oidc-client-ts.d.ts.patch.zipIn the package.json
"types": "./dist/types/oidc-client-ts.d.ts",
was added to"exports"
section, that might affect you.Which version of TypeScript are you using? I am using
typescript@4.6.4
together withoidc-client-ts@2.0.5
without problems.Nice to hear it works again for you