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

Method to cancel current auth operation

      Problem

      The auth hooks won't allow different auth methods to be called while another is pending. This could possible lead to a situation where one auth method is stuck in pending and there is not possible way to cancel the operation and do something else. Perhaps this is due to low latency or something else.

      The current SDK doesn't allow for canceling any of these auth operations. They simply return a promise.

      Solution

      Implement a way to cancel an auth operation and make it callable from the SDK.

      Alternatives

      No response

      How important is this improvement for you?

      Would be a major improvement

      Feature would mainly be used with

      Atlas App Services: Auth or Functions etc

            Assignee:
            Unassigned Unassigned
            Reporter:
            andrew.meyer@mongodb.com Andrew Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: