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

gamesfrager’s picture

Issue summary: View changes

edited for clarity

ClaudeSchlesser’s picture

Status: Active » Closed (fixed)
ClaudeSchlesser’s picture

Issue summary: View changes

more findings

1kenthomas’s picture

Title: Unlinking is not working » Provide Unlink Mechanism
Version: 7.x-1.1 » 8.x-1.0
Priority: Critical » Major
Status: Closed (fixed) » Active

At 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.

ClaudeSchlesser’s picture

Hello,

users can link/unlink their social networks in their Drupal profile settings.

Regards,

ClaudeSchlesser’s picture

Status: Active » Fixed

Fixed in the latest version.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.