Hi,
I have successfully managed to activate the module and the sign-in process is great. However, when I try to unlink my gmail account, it brings me to the page to de-authorise the app from my gmail account by entering the gmail password, I see a redirect an then another redirect and the page is blank, the title of the page is
Social Plugin | Cross Domain Handler
and the code on the page is this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta name="robots" content="noindex, noarchive, nofollow" />
<title>Social Plugin | Cross Domain Handler</title>
<script type="text/javascript">
window.onerror = function(errorMessage, url, line) {
var url = "https://MY-DOAMIN.api.oneall.com/jsl/?description=" + escape("[CALLBACK ERROR] " + errorMessage) + "&url_self=" + escape(url) + "&line=" + escape(line) + "&url_parent=" + escape(document.location.href) + "&user_agent=" + escape(navigator.userAgent);
new Image().src = url;
};
(function (self){
opener.plugin.handle_callback_result ({"connection":{"token":"MY-TOKEN","status":"error","action":"unlink_identity","operation":"nothing_to_do","reason":"identity_is_last_one"}});
self.close();
})(this);
</script>
</head>
<body >
</body>
</html>
Update: noticed that on a test account I created, I linked facebook to it and it worked, then I tried to unlink facebook from the account and it gave an error stating there is a need to have at least one social sign in. The problem is what if the user has already created a Drupal account? there should be a check if the user has created an account, then allow removing all social logins.
Note: MY-DOMAIN and MY-TOKEN are replacing the actual domain name and token for privacy reasons.
Thanks and looking for this issue to be resolved soon as it's a crucial part of the process.
Regards,
Sinan
Comments
Comment #0.0
gamesfrager CreditAttribution: gamesfrager commentededited for clarity
Comment #1
ClaudeSchlesser CreditAttribution: ClaudeSchlesser commentedComment #1.0
ClaudeSchlesser CreditAttribution: ClaudeSchlesser commentedmore findings
Comment #2
1kenthomas CreditAttribution: 1kenthomas as a volunteer and commentedAt this point I'm not seeing any way to unlink social accounts. This seems to violate ToS for several providers.
Am I missing something? It is crucial that users be able to transparently unlink social networking accounts from local accounts.
Thanks.
Comment #3
ClaudeSchlesser CreditAttribution: ClaudeSchlesser commentedHello,
users can link/unlink their social networks in their Drupal profile settings.
Regards,
Comment #4
ClaudeSchlesser CreditAttribution: ClaudeSchlesser commentedFixed in the latest version.