How to login sdk without token after using token

[Problem/Question]
How to login sdk without token after using session token?


[SDK Version]
com.sendbird.sdk:sendbird-chat:4.6.1

[Reproduction Steps]

  1. Our latest Android app version logs into the SDK with a session token.
  2. But the iOS app version still logs into the SDK without a token.
  3. This is causing issues for some multi-device users.
  4. They first use the Android app version.
  5. And then use the iOS app version.
  6. The SDK connection fails on iOS (error: 400302).
  7. Is there any way for a user who once logged into the SDK with a token to log in without a token?

[Frequency]
If it’s a Reproduction, it always happens.

Hello @Co_jobs,

Once a session token has been generated, users must use a valid session token to log in and there isn’t a way to log into that user without session token.

@uday.bhaskar Thanks for the answer.

Is there no way to log in without a token after the session token expires?

No, there isn’t any way to login without a token due to security reasons for which the session token was created for a user at first place

Thank you for your response.