I have a problem. This used to work fine until yesterday and when I tried to reauthorize from the backoffice I couldn't save the new details. It just goes to blank popup (http://xxxxxxx.xxx/umbraco/Skybrud/Social/FacebookAuth.aspx?code=AQDJsIPUwwEVWEZhYzmCx0VGP3fX0zuuUu5RmivNs5i9aXTNZa2eDCvS0K4w9Vb9380IqQHiOCqvmY6pioVhhfrSnTErWEuZHn1nUzL5ft8wYjPFfLa4xH9iFHwRxSBQcWstkfZ8iYJu-xT8ULSJCxhgwggr9mKpwwv-us1naVQPdooUhYsXuX7CyUi-VR9xwnLpTz2cbgfZ-h2b1e2h4Au8K2PgokvqkPedIJDoZ6uaVzZ7ESYpsn0UL64msSr844dKV9WlUHPHSFcS6r5yq9G194uYjOnJpcZtBmH9Wj5jT2MSa6LOYj2UbyxVrA&state=13265%7CbodypropfacebookOauthFacebookOAuth#=_) and is not saved in the backoffice.
We are using:
Umbraco v6.2.4 (Assembly version: 1.0.5394.15649)
Skybrud.Social.Umbraco 1.0.0
Is there any known problem and if not, how do I go about fixing this.
I can't remember a reason as to why the page would be blank, so I'll have to look into that.
Anyways, with a bit of C# you can test the authorization code ("code" in the query string). The one in your example has probably expired by now, but if you try to re-authenticate, you can test the code with:
Shortly after I changed the code. Rather than using a data type and a property to get auth token, I get it using "/oauth/accesstoken?granttype=clientcredentials&clientid={0}&client_secret={1}", which gives me sufficient permissions for what I need.
Can't save token/user details in the backoffice
I have a problem. This used to work fine until yesterday and when I tried to reauthorize from the backoffice I couldn't save the new details. It just goes to blank popup (http://xxxxxxx.xxx/umbraco/Skybrud/Social/FacebookAuth.aspx?code=AQDJsIPUwwEVWEZhYzmCx0VGP3fX0zuuUu5RmivNs5i9aXTNZa2eDCvS0K4w9Vb9380IqQHiOCqvmY6pioVhhfrSnTErWEuZHn1nUzL5ft8wYjPFfLa4xH9iFHwRxSBQcWstkfZ8iYJu-xT8ULSJCxhgwggr9mKpwwv-us1naVQPdooUhYsXuX7CyUi-VR9xwnLpTz2cbgfZ-h2b1e2h4Au8K2PgokvqkPedIJDoZ6uaVzZ7ESYpsn0UL64msSr844dKV9WlUHPHSFcS6r5yq9G194uYjOnJpcZtBmH9Wj5jT2MSa6LOYj2UbyxVrA&state=13265%7CbodypropfacebookOauthFacebookOAuth#=_) and is not saved in the backoffice.
We are using: Umbraco v6.2.4 (Assembly version: 1.0.5394.15649) Skybrud.Social.Umbraco 1.0.0
Is there any known problem and if not, how do I go about fixing this.
Thanks in advance
Hi Ventsislav,
I'm not aware of any current issues, but I haven't looked into this package for a while, as I'm no longer actively maintaining the package.
I will see if I can find the time to look into your issue ;)
It is probably a one off, because it used to work fine until yesterday and we haven't changed anything in a while.
What's the best way to debug it while trying to Authorize?
I can't remember a reason as to why the page would be blank, so I'll have to look into that.
Anyways, with a bit of C# you can test the authorization code ("code" in the query string). The one in your example has probably expired by now, but if you try to re-authenticate, you can test the code with:
If it fails, it should throw an exception with some details on why it fails.
Shortly after I changed the code. Rather than using a data type and a property to get auth token, I get it using "/oauth/accesstoken?granttype=clientcredentials&clientid={0}&client_secret={1}", which gives me sufficient permissions for what I need.
Thanks for the swift replys nonetheless.
is working on a reply...