Skip to content

Invalid token when multiple API call fired simultaneously #1

@AgmoHONGLOK

Description

@AgmoHONGLOK

Describe the bug
When trying to make multiple API call simultaneously with an expired JWT token, refresh token is not working, causing all API calls to failed.

To Reproduce
Steps to reproduce the behavior:

  1. Try to firing more than one API call with invalid access token at a time

Expected behavior

  1. All API calls are on-hold, first API entered base_services will execute "RefreshToken" and update the accessToken with latest accordingly.
  2. Subsequence API calls will be resumed and should use new accessToken.

Screenshots
N/A

Smartphone (please complete the following information):

  • Device: iPhone 14 Pro Max, Samsung Galaxy Note 9
  • OS: iOS 16, Android 11
  • Browser n/a
  • Version n/a

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions