You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a request failed with a 401, we would try to refresh the session and retry unconditionally, in the case of a link credentials request, this heuristic is too simple as it resulted in an endless loop of session refreshes instead of surfacing the error to the user.
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
asyncfunctionhandleLinking(){constuser=awaitapp.logIn(Credentials.anonymous());constemailPasswordCredentials=Credentials.emailPassword("[email protected]","v3rys3cur3");// This user doesn't exist or the password is incorrectawaituser.linkCredentials(emailPasswordCredentials);}
Version
2.0.0
What services are you using?
Atlas App Services: Functions or GraphQL or DataAPI etc
Are you using encryption?
No
Platform OS and version(s)
N/A
Build environment
No response
Cocoapods version
No response
The text was updated successfully, but these errors were encountered:
How frequently does the bug occur?
Always
Description
When a request failed with a 401, we would try to refresh the session and retry unconditionally, in the case of a link credentials request, this heuristic is too simple as it resulted in an endless loop of session refreshes instead of surfacing the error to the user.
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
Version
2.0.0
What services are you using?
Atlas App Services: Functions or GraphQL or DataAPI etc
Are you using encryption?
No
Platform OS and version(s)
N/A
Build environment
No response
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: