This blog post contains a section describing selective disclosure of the email address:
Important: The email claim can be selectively disclosed. If it is selectively disclosed, you receive a hash, instead of the email address, that you can verify by generating the same hash against the expected email address. We recommend supporting both formats.
But the spec never mentions anything about this mechanism. In fact, draft-hardt-email-verification.md mentions:
though this protocol does not use selective disclosure features
So now I'm a bit confused on whether I should actually support this scenario.
Both Gmail and https://rowan.fyi/made/email-provider don't seem to issue jwt's with this mechanism either, so I'm not really able to test my implementation anyway.
This blog post contains a section describing selective disclosure of the email address:
But the spec never mentions anything about this mechanism. In fact, draft-hardt-email-verification.md mentions:
So now I'm a bit confused on whether I should actually support this scenario.
Both Gmail and https://rowan.fyi/made/email-provider don't seem to issue jwt's with this mechanism either, so I'm not really able to test my implementation anyway.