panva / openid-client

OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
MIT License
1.83k stars 392 forks source link

Make static Issuer methods generic #371

Closed mikaelkaron closed 3 years ago

mikaelkaron commented 3 years ago

Allows the client returned from either Issuer<TClient>.discover or Issuer<TClient>.webfinger to be generically typed.

mikaelkaron commented 3 years ago

Not really sure how I'd add tests for this type change. But it's now a non-breaking change.

panva commented 3 years ago

Ping me here if you'd like this reopen after you've added the changes requested.