We learned about a security vulnerability in Wasp auth related to one of our OAuth providers - Keycloak.
This doesn’t affect users using Google, Github or Discord OAuth providers.
The vulnerability affects users using Keycloak with a custom config that makes the Keycloak provided user IDs case sensitive. Users using the default ID logic with case insensitive UUIDs are 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.