worldcoin / idkit-js

Javascript toolkit to interact with the World ID protocol. Building the Identity SDK.
https://docs.worldcoin.org
MIT License
280 stars 71 forks source link

Token endpoint does not support Expect 100-continue HTTP header #223

Open fujie opened 9 months ago

fujie commented 9 months ago

While integrating my existing OIDC relying party, the relying party library pre-sends expect header to the world ID's token endpoint. But the token endpoint does not support expect header and return error 'Error: Cannot remove headers after they are sent to the client'. I guess this issue is not directly related to the idkit itself, but I wish Worldcoin to fix this.