epicgames-freegames-node
epicgames-freegames-node copied to clipboard
Probably not correctly analyzing hCaptcha's accessibility cookie
Describe the bug
The log showed a strange response when requesting the hCaptcha accessibility cookie. If the response doesn't actually contain the cookie and I'm making some false interpretations of the response, please close the issue.
Screenshots or Logs
[2022-06-24 21:16:34.701 +0800] DEBUG: Error from hCaptcha get_cookie request, continuing without hCaptcha accessibility cookies status: 401 errorBody: { "csrf_token": "REDACTED**" }
Additional context
I don't actually know whether the csrf_token field contains the cookie. If it doesn't and I'm just overthinking, please inform me of the problem, and I'll close the issue.
This is a known issue. See the acknowledgement from the dev about this on the main page and the bug report for this issue.
This is a known issue. See the acknowledgement from the dev about this on the main page and the bug report for this issue.
Thanks for responding, but the response is different from what is normally seen when hCaptcha rejects the request. For further investigation, I'd paste the original log down below:
[2022-06-24 21:16:34.701 +0800] DEBUG: Error from hCaptcha get_cookie request, continuing without hCaptcha accessibility cookies
status: 401
errorBody: {
"csrf_token": "IjljOTZlNTNkODA5MDg2NGIwOTlkN2JjODcxYmQ1NGI0MGY3NjFjYmYi.YrW5Mg.yFNZigrgNyMLS2YCC_K1EresJtA"
}
There is a 401 code over here, but I can't tell what the csrf_token is.
I see what you mean. I was only focused on the error 401 part. I wonder the difference stems from you having a different log level than the other poster. Not sure what that token is. Are you using a valid URL in the config that you obtained yourself through hCaptcha?