-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASP.NET_SessionId #14
Comments
I don't believe it's required for a call to their backend. The
While the session will expire, the tokens generated from the session and form are still valid and should not expire. I'm still using tokens from the beginning of this year. Keep in mind you'll have to use form tokens from the same session they were generated in. Both form and session tokens contain anti-XSRF token within and must match when extracted. Their |
Thanks for the quick response, request.Headers.TryAddWithoutValidation("Cookie", "ASP.NET_SessionId=asp_sess; __RequestVerificationToken=token"); If i don't mention the asp.net_sessionid i get the following error : {"resultCode":2000,"resultMsg":"TRADE_MARKET_ERROR_MSG_UNAUTHORIZED","redirectUrl":"https://account.playkakaogames.com/oauth/blackdesert/authorize?client_id=bdo_central_market_web-eu-live\u0026response_type=code"} I really appreciate your time and effort to help me. |
If there's complete minimal code to reproduce I could look into it more.
|
Hi, thanks for the reply {"resultCode":2000,"resultMsg":"TRADE_MARKET_ERROR_MSG_UNAUTHORIZED","redirectUrl":"https://account.playkakaogames.com/oauth/blackdesert/authorize?client_id=bdo_central_market_web-eu-live\u0026response_type=code"} When i don't mention asp.net_sessionid i always get this error when i mention it everything works. Thank you by advance. |
I haven't seen this response before. I'm wondering if the backend is different for EU? I don't have an EU account to test with so can't confirm, but I don't imagine it would be different. Usually when credentials, headers, or form data is incorrect it returns a 404 page.
The above tool doesn't support form data. |
Thanks, i have fixed my problem thanks to you. |
Hi, its not an issue with the project, i was just wondering how do you bypass the ASP.NET_SessionId. Doing an api for a project i'm stuck on this, it expire and change and i don't know how you got away with this, because you use only __RequestVerificationToken and a post request need more information.
The text was updated successfully, but these errors were encountered: