Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle error 401 Unauthorized #4745

Closed
pavel-ship-it opened this issue Jun 8, 2021 · 0 comments · Fixed by #4747
Closed

Handle error 401 Unauthorized #4745

pavel-ship-it opened this issue Jun 8, 2021 · 0 comments · Fixed by #4747
Assignees

Comments

@pavel-ship-it
Copy link
Contributor

Expected results

Fail on 401 during refresh token request

Actual Results

The app is still trying to refresh a token

Steps & Code to Reproduce

I use iOS Realm example app Task Tracker

  1. Login

  2. In web panel for that Realm app "Revoke all sessions" for the user

  3. in iOS app try to sync (tap "Projects")

  4. User should be Unauthorised
    Actual> The app getting 401 and trying to refresh a token indefinitely.

Core version

Core version: v10.8.0

Originally reported in realm/realm-swift#7211

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants