I'm trying to get new user signup working... I have the email provider working, i get the verification code. I punch it in and get a 200 from the call to /api/signup with this response:
{
"status": "error",
"msg": " parsing \"\": invalid syntax",
"sub": "",
"name": "",
"data": null,
"data2": null,
"data3": null
}
The request to /api/signup:
{
"application": "demo-webapp",
"organization": "demo",
"name": "test_user",
"password": "***",
"email": "***@gmail.com",
"emailCode": "23451"
}
I get the error regardless of whether or not the verification code is correct. I do have to first send a verification code, or I get an error saying the code hasn't been sent yet.
I see 0 logs indicating issues in my docker logs for casdoor. Any help would be greatly appreciated as I have no way to pinpoint what code is throwing this error.
If I "sign up" by logging in with another oauth provider, it seems to work. My user gets created.
Is there some way to enable more logging? I've tried LOG_LEVEL and GIN_MODE =debug. I still only get these logs:
2025-11-12 01:01:42.148877540 2025/11/12 01:01:42.148 [1;34m[I][0m (172.18.0.1) subOwner = anonymous, subName = anonymous, method = POST, urlPath = /api/signup, obj.Owner = , obj.Name = test_user, result = allow
2025-11-12 01:01:42.157340179 2025/11/12 01:01:42.156 [1;44m[D][0m | 172.18.0.1|[97;42m 200 [0m| 14.796358ms| match|[97;46m POST [0m /api/signup r:/api/signup
2025-11-12 01:02:30.035893968 2025/11/12 01:02:30.035 [1;44m[D][0m | 127.0.0.1|[97;42m 200 [0m| 4.438202ms| nomatch|[97;44m GET [0m /
