Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-1965

Realm Custom-Token Login failed. [When switched to partition based sync to Flexible sync]

      How frequently does the bug occur?

      Always

      Description

      Hi
      We have released the app with change of Partition based sync to flexible sync configuration with new appId in the new release. User can able to login with JWT token credentials for Realm login. But when the user did not use the app for 3 or more then 3 days, after open the app all the user facing realm Custom token Auth Error, with error of
      "'"appid"' not found in 'aud' claim" & and user can't able to have any access any features in through the app. When i checked with the jwt generated token in online decode platform the payload contains the old appId. How it was possible?.
      Can anyone help me out this......?
      The realm swift version was used is 10.28.2

      Stacktrace & log output

      No response

      Can you reproduce the bug?

      No

      Reproduction Steps

      No response

      Version

      10.28.2

      What Atlas Services are you using?

      Both Atlas Device Sync and Atlas App Services

      Are you using encryption?

      – select –

      Platform OS and version(s)

      iOS

      Build environment

      Xcode version: ...14.2

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

              Created:
              Updated:
              Resolved: