-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello,
That seems to be the behaviour when going through a browser so I guess so. Anyone with more myexperiment experience know the answer to this? Cheers, Ian On 21/07/2015 11:53, Larry Akah wrote: > But even if i follow the redirect and actually retrieve the user > info, should i consider that the user has been logged-in > correctly? > > Cheers > > 2015-07-21 4:25 GMT-05:00 Ian Dunlop > <[email protected]>: > > Hello, > > I can't say for sure why myexperiment is doing this but I get that > behaviour as well. I tried via a browser which pops up a > username/password box and then sends the 307 response with the URL > of your actual user details. ie I ask for Request > URL:http://www.myexperiment.org/whoami.xml then get a 307 to > Location:http://www.myexperiment.org/user.xml?id=474 > > Here are the request/response details I get: > > Remote Address:129.67.224.33:80 Request > URL:http://www.myexperiment.org/whoami.xml Request Method:GET > Status Code:307 Temporary Redirect Response Headers view source > Cache-Control:no-cache Connection:close Content-Length:0 > Content-Type:application/xml; charset=utf-8 Date:Tue, 21 Jul 2015 > 09:20:03 GMT Location:http://www.myexperiment.org/user.xml?id=474 > Server:nginx/1.2.6 + Phusion Passenger 3.0.19 Status:307 > Vary:User-Agent X-Powered-By:Phusion Passenger (mod_rails/mod_rack) > 3.0.19 X-Runtime:2 Request Headers view source > Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/web p, > > */*;q=0.8 > Accept-Encoding:gzip, deflate, sdch Accept-Language:en,en-US;q=0.8 > Authorization:Basic ****** Connection:keep-alive > Cookie:myexperiment_session=***** Host:www.myexperiment.org > User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 > (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36 > > It looks like you may have to follow the redirect. > > Cheers, > > Ian > > On 20/07/2015 19:40, Larry Akah wrote: >>>> Hello am having some issues with login to myexperiment. I set >>>> the authentication parameters in the header correctly as i >>>> issue the request to myexperiment.org/whoami.xml I get an >>>> error code 307 and message: 'temporary redirect' instead of a >>>> response code 200. Any reasons or fixes around this? >>>> >>>> Cheers >>>> >>>> 2015-07-19 20:34 GMT+01:00 Larry Akah <[email protected]>: >>>> >>>>> Hello, You can checkout the latest changes on my >>>>> repository, there are some more features that have been >>>>> added to the app like running workflows from external >>>>> storage. I have also increased the number of users who can >>>>> connect the app to their dropbox accounts when saving >>>>> workflows to them. >>>>> >>>>> Cheers >>>>> >>>>> -- *Akah Larry N.H* >>>>> >>>>> *Lead Software Engineer @ GiftedMom* *Founder IceTeck Inc* >>>>> *www.iceteck.com* >>>>> >>>>> Developing technologies for emergence and sustainable >>>>> development. >>>>> >>>>> >>>> >>>> >> > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVrihDAAoJEPK45GBX+Cy5vH0H/i9B8AmZZ/YNHn9N+bi8MA3+ zYObnXi67NO7FNEhH5idawqqtw9dxAqKA2B1qVh5UYMOhWXiT2FujxhEFfGXdI/w zwbQWZepb1FgIc4FTBYZ786m4FqZ2oEt9gU4+iEteNkAkHcCkndFPbbyv8AnqNyn oyjEhdSWXVOdr2EmbgweHJmxIxxtFdVuImEpltraGGG7eT3KRwu9u3rUJCCpKMDE 6E1cs200euegedAaHqpn7bMQuA9VMFJv3U3wpXdT7wKJuvyox3JRUjjZnRTSDvxM LbhJFZHDGj2z7zyetul4m89I6avIaG747TallejsHErMmTup2Fln9xcWq5qqu1c= =IM1F -----END PGP SIGNATURE-----
