Justine
06/17/2023, 3:41 PMThe running SuperTokens core version is not compatible with this NodeJS SDK.
Quick context, I'm using self-hosted core. Got everything working locally. Spin up local postgres DB, when connected Supertokens core to it, I can see all the new Supertokens tables created, when I do localhost:3567/hello
, everything is working. When I connect my Supertokens backend to it, everything is fine.
So now I'm trying to deploy my backend to Cloud Run, Supertokens Core to Cloud Run, and use Cloud SQL. My steps below:
1. Create Cloud SQL DB ✅
2. Run Supertokens Postgres image on Cloud Run ✅
3. Check that Supertokens tables are created in Cloud SQL ✅
4. Check /hello
endpoint ✅
5. Run my backend image on Cloud Run ✅
But now when I try to signup from frontend using the signUp
function in supertokens-auth-react/recipe/emailpassword
, I get The running SuperTokens core version is not compatible with this NodeJS SDK.
I'm using the 5.0
docker image on Cloud Run, and using 14.0.2
for supertokens-node
Am I missing something? I'm not sure why it's working locally without compatibility issue, but only in the cloud.