Description
Our app uses a webview for some tasks. The native mobile app loads the webview, and then passes a session token to the javascript running inside the webview. Javascript then calls become() to perform actions as the same user logged into the native app.
We have not migrated to using revocable session tokens. When I try this with our live app (using legacy parse.com) and our updated web code (using parse-server), I get "invalid session token".
Am I right in assuming the problem is that parse-server's become() does not accept our legacy session tokens?
Please help me to understand what our options are. As I see it, we could:
- Wait for parse-server to hopefully start working with legacy tokens soon, or try to implement this functionality ourselves
- Migrate our users to revocable sessions ASAP and hope enough upgrade before the cutoff, and then deploy the parse-server version of our webapp
- Rewrite our webview code to be native
Any advice would be appreciated! We were thinking we were about ready to migrate but this problem has cropped up during some final testing to make sure users who haven't upgraded yet would be ok to use the parse-server version of our webapp.