We learned about a security vulnerability in Wasp auth related to our OAuth support.
This issue only affects users using Keycloak authentication with non-default case-sensitive IDs.
Every other configuration (Google, GitHub, Discord, or Keycloack with the default case-insensitive configuration) is not affected. Email and username auth providers are also not affected.
Users should upgrade to Wasp 0.16.6
which contains the fix ASAP.
0.16.6
with the fixWasp has a concept of a ProviderId
which contains the provider name and the provider specific ID.
For example it can be:
email
,[email protected]
) for Email authgoogle
,10769150350006150715113082367
) for Google authWasp takes the provider specific ID (the the second part), turns it into a string and lowercases it to keep the IDs normalised.