JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
Edited by jenstr: 7/26/2015 9:12:18 PM
1

Authentication for Private Endpoints help

Hiya folks first off I want to thank all of you for having this place to help each other out. Great community! I've adapted Quantum Ascend's PSN auth method* found at the bottom of this article: http://bungienetplatform.wikia.com/wiki/Authentication and got it mostly working. I'm still getting ErrorCode 99 ("WebAuthRequired") when sending my requests to a private endpoint. I'm using https, I'm sending the value I get for the bungled cookie as the X-CSRF header, and sending the following in the Cookie header: bungled, bungleme, bungleatk, and bungledid. I've also got my X-API-Key set. Any ideas? Or more info I can provide to hopefully generate some ideas? *EDIT: I'm not using Python, but vbscript / classic asp. I just followed his logic.

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • I think I got it figured out. It wouldn't work with MSXML2.ServerXMLHTTP object, so I ended up using WinHttp.WinHttpRequest.5.1 instead, with redirections turned off. Seemed to fix it.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    1 Reply
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon