@hsluoyz , im trying to use the casdoor_url/api/add-user and there im able to hit the api from swagger. but on postman it is not working. i tried adding client_id and client_secret and it didnt work cause as expected the default value didn't had that, just gave try. but this was my body. and it is giving the error: unauthorized operation.
{
"name": "asd",
"owner": "abc",
"signupApplication": "xyz",
"email": "***@gmail.com",
"id": "test"
}
the req body is being used in swagger, not in application. how can i fix it ?
error:
2025/04/13 11:50:49 Response body: {
"status": "error",
"msg": "Unauthorized operation",
"data": null,
"data2": null
}
