Better HN
topnewbestaskshowjobs
Log inSign up

_panva

2 karma · joined Mar 2, 2023 (3y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

All target runtimes of oauth4webapi natively support ESM. Furthermore, experimental "require(esm)" is coming with Node.js 22 in the coming days, giving library authors such as myself even less of a need to bother with CJS targets, publishing, dual CJS/ESM hassles and more. See https://joyeecheung.github.io/blog/2024/03/18/require-esm-in...

comment 2y ago · link · parent

In self-certification processes like the OIDC certification program, it's common for developers to certify their own software. This is because the process is designed for developers to evaluate their own implementations against the established standards and requirements set by the certification program.

Self-certification doesn't mean that the process lacks validity or rigor. On the contrary, it involves thorough testing and validation against industry standards to ensure that the software meets the necessary criteria for interoperability, security, and functionality.

If you're curious about the specifics of the process, you can find more information on the OIDC certification FAQ pages. These resources provide detailed explanations of the certification process, the criteria for certification, and the testing procedures involved.

comment 3y ago · link · parent

Hi, @panva here. I've previously had Erwin effectively propose the existing code (not the one from the linked article, the one that's in the library today https://github.com/panva/jose/blob/v4.13.0/src/jwks/remote.t...) acknowledging that there is an even more unlikely edge case.

Well, someone was bound to hit that second edge case.

But please help me out on this, the code does not await the _pendingFetch promise and neither does it touch any runtime globals.

So what gives? Please reach out on the cloudflare discord PanvA#6705.