Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2421

API for confirming user's current password

      Problem

      When using the Email/Password Auth Provider there is no way of asking the user to confirm his/her current password. This would be nice to have in the following use-cases:

      1. Allow login with a username additionally to the email/username provided on registration.
      2. Confirm current password when setting a new password as a first check before sending the confirmation link
      3. ... (some other use-cases where confirming the current password would be useful)

      Solution

      Something like await app.emailPasswordAuth.confirmCurrentPassword(password) would be nice to have.

      Alternatives

      For login with an additional username there is currently no alternative, as far as I know.
      For resetting password there is the confirmation link sent via email or something else.

      How important is this improvement for you?

      I would like to have it but have a workaround

      Feature would mainly be used with

      Atlas App Services: Auth or Functions etc

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: