originally posted in:BungieNetPlatform
View Entire Topic
Ran my program today and got a bad status line - basically I got nothing from the server. I know this is all on Playstation's side, but maybe someone could comment on why this might be happening? It's not even my program either. Opened up both firefox and chrome and tried to sign-in - page didn't show. I click on the link for the Playstation Network and get a 302 which it follows to PSN's auth page, but they aren't responding with anything. Sometimes it'll respond and I can get a JSESSIONID cookie, but then it won't respond after I POST with my information.
Is this just me?
English
#Help
-
Seems the PSN auth flow now has a "params" input that is passed in via the login form [quote] <input id="brandingParams" type="hidden" name="params" value="cmVxdWVzdF9sb2NhbGU9ZW5fVVMmcmVxdWVzdF90aGVtZT1saXF1aWQ=" />[/quote] That input value is nothing more than the query parameters base64 encoded, eg: "request_locale=en_US&request_theme=liquid" Once I included that "param=xxx" value in my POST my PSN login works again. For example, my java client builds its params like this: [spoiler] // setup post parameters String params = "rememberSignIn=1" + "&j_username=" + URLEncoder.encode(username, "UTF-8") + "&j_password=" + URLEncoder.encode(password, "UTF-8") // params needed or the POST will fail + "¶ms=" + originalConnection.getURL().getQuery() ; [/spoiler] I ignore the "params" input in the HTML and just build it based on the redirect URL, since they include the same parameters and it saves me from having to search the HTML content for the input value.