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.

Metadata error after update from 2.0.4 to 2.0.5

See original GitHub issue

Hello,

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:closed
  • Created a year ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
pamapacommented, Jun 29, 2022

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.zip

In 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 with oidc-client-ts@2.0.5 without problems.

0reactions
pamapacommented, Sep 26, 2022

Nice to hear it works again for you

Read more comments on GitHub >

github_iconTop 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 >

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