originally posted in:BungieNetPlatform
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?
-
Edited by lowlines: 5/10/2015 2:36:23 AMThis impacts Bungie.net logins too, as I logged out to test this and I can no longer log in via PSN to Bungie.net. All the PSN Auth pages seem to be down. [edit] Bungie.net is working again now for me.
-
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.
-
Tried out using a QWebView in PySide: - Sent a HEAD request to www.bungie.net/en/User/Signin/Psnid - Grabbed the location from the header. - Set the webview to the location. - Signed-in to PSN by user input - Get redirected to: [quote]https://auth.api.sonyentertainmentnetwork.com/2.0/oauth/authorize?response_type=code&client_id=78420c74-1fdf-4575-b43f-eb94c7d770bf&redirect_uri=https%3a%2f%2fwww.bungie.net%2fen%2fUser%2fSignIn%2fPsnid&scope=psn:s2s&request_locale=en[/quote] Which displays this: [quote]{"error_description":"Invalid redirect: https%3a%2f%2fwww.bungie.net%2fen%2fUser%2fSignIn%2fPsnid does not match one of the registered values.","error":"redirect_uri_mismatch","error_code":4174} [/quote]
-
I've got the same problem! PSN Curl return an error: "Empty reply from server"
-
What language is your code? Could you share your login procedure?
-
FYI, just went to the Legend page to see my characters (after getting no characters back from bungie in my app) and it says the system is currently offline... so they may be doing some maintenance or something. Not sure if that's the same thing you guys are experiencing...