panva / openid-client

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

feat: expose AAD_MULTITENANT on Issuer #658

Closed charsleysa closed 8 months ago

charsleysa commented 9 months ago

Expose the AAD_MULTITENANT on the Issuer class as a static property. This allows creating instances of Issuer by calling the constructor and supplying the metadata object directly instead of needing to execute await Issuer.discover(...).

panva commented 9 months ago

Hello @charsleysa,

this is intentionally only through discovery.

charsleysa commented 8 months ago

Thanks for the information @panva. We've migrated to using oauth4webapi instead and followed your advice provided in one of the issues https://github.com/panva/oauth4webapi/issues/100#issuecomment-1890380232