Hello again people,
context: we are using the self-hosted version of supertokens core in kubernetes (with the help of helmchart mentioned here
https://github.com/supertokens/supertokens-docker-postgresql/tree/master/helm-chart ) with
thirdpartypasswordless
recipe , in
golang
backend sdk (with gin framework)
now, in the refresh session flow, the call to core at
/recipe/session/refresh
from the golang-sdk is breaking
i.e., for i tried manually calling supertokens core via cURL with:
curl --request POST 'http://supertokens:3567/recipe/session/refresh' --header 'api-key: <api-key here>' --header 'rid: session' --header 'content-type: application/json; charset=utf
-8' --header 'cdi-version: 2.14' --data-raw '{"refreshToken": "<refresh token here>", "enableAntiCsrf": false}'
the response returned by core is
{"status":"UNAUTHORISED","message":"java.lang.IllegalArgumentException: Illegal base64 character 25"}
So any help would be appreciated
PS: when I tried the refresh flow locally, with docker image of supertokens core ran locally, the same call to
/recipe/session/refresh
via golang-skd is getting response OK (with the same sdk version of supertokens in golang)