RealmApp restore session with RLMUser.accessToken

Hey everyone,

sorry, if this question is already answerend anywhere else, but i didnt find anything about my problem.

I am currently working with RealmCloud and use at the moment email/password authentication. If a user is logged in successfully, the RLMUser has an accessToken + refreshToken.
When i store this token and want to restore the session, after closing the app, with this stored token, i’ll get the error, that custom tokens are not allowed.
if i setup the custom JWT auth in my realm-app-settings and try it again, the new problem is, that my token has an invalid signature.

How is it possible to use the RLMUser.accessToken for restoring a users session?

Thx in advance.


1 Like