Missing nonce
optional field in UserAttributes in Swift client library (and documentation)
#456
Labels
documentation
Improvements or additions to documentation
Improve documentation
Link
https://supabase.com/docs/reference/javascript/auth-updateuser
Describe the problem
According to the JS docs, the
updateUser
in the Swift SDK should be able to contain anonce
parameter when Secure Password Change has been activated. In this case, we must first callreauthenticate
to send a nonce to the user's email, which is then used as a parameter toupdateUser
along with the new password.Describe the improvement
Add a
nonce: String?
field to theUserAttributes
struct (and update theinit
).The text was updated successfully, but these errors were encountered: