open source / oauth4s / known gaps
Known gaps
- No single-flight refresh. Two fibers that find a
TokenSourceexpired at the same moment both ask the server. Both answers are valid, but with a rotating refresh token one of the two requests can lose. - The JDK client blocks. See HTTP clients.
- VK ID's
id_tokenis not verified. It is not an OpenID Connect token, and its key is published in prose. VK ID is used as OAuth 2.1, and the profile comes from itsuser_infoendpoint. - Facebook's token endpoint is called with
POST, like every other provider's, with the secret in the form. Meta's documentation showsGETwith the secret in the query string. If Meta ever refuses the form, this is where to look. - Providers are tested against recorded responses, not against the providers. The endpoints and the response shapes were checked against each provider's documentation; a sign-in with a real account is the application's test.
- No OAuth 1.0a and no OpenID 2.0. Both are dead. X is OAuth 2.0 with PKCE only.
- No JWE, EdDSA, DPoP or pushed authorization requests. None of the eight providers needs them; see the roadmap.
built from README.md at v0.1.1
edit this page on GitHub