supabase / auth-js

An isomorphic Javascript library for Supabase Auth.
MIT License
321 stars 152 forks source link

feat: acquire locks around mfa methods #788

Closed hf closed 9 months ago

hf commented 9 months ago

Given the changes introduced in #736, some of the MFA methods were exempt from acquiring the lock. However, this appears to have been a bad idea, especially around _getAuthenticatedAssuranceLevel which is used while the user is authenticated.

This PR adds the locks in the correct places.

hf commented 9 months ago

Tested on supabase.com.

github-actions[bot] commented 9 months ago

:tada: This PR is included in version 2.54.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: