Jump to content

Topic on Extension talk:GoogleLogin/PostAuthManager

Link status - not linked

8
Davidmuller (talkcontribs)

Instaled latest versions

Mediawiki : 1.27.1

GoogleLogin : REL1_27

Updated LocalSettings.php with following

require_once "$IP/extensions/GoogleLogin/GoogleLogin.php";

$wgGLSecret = 'xxxxxxxxxxxx';

$wgGLAppId = 'xxxxxxxxxxxx';

But when i try to login with google its showing

Link status - not linked

Screenshot http://i.imgur.com/zJImoQ3.jpg

How to fix this?

Florianschmidtwelzow (talkcontribs)

You need to link the Google account with your wiki account by using Special:LinkAccounts :)

Tomasu (talkcontribs)

I'm seeing a similar issue, but Special:LinkAccounts just redirects to Special:UserLogin which gets the same "the supplied credentials are not associated with any user on this wiki".

Florianschmidtwelzow (talkcontribs)

If you open Special:LinkAccounts and you get redirected to Special:UserLogin, you should see a message which says, that you need to login again to protect your data (as Special:LinkAccounts requires a re-authentication for security reasons after some time). Obviously, you need to choose an authentication method, which is already available to your user account. As you still haven't linked your Google account with your wiki account, you first need to to login with your username and password again (or any other available authentication module). After you've logged in you see Special:LinkAccounts, where you can choose "Link with Google" or something. If you click this button your wiki account gets linked with your Google account. After it you can logout and login with your Google account again.

Tomasu (talkcontribs)

The previous authentication plugin that was used is no longer available. I even attempted to manually switch the user_google_user entry for my new user to my old user's id, and it silently failed when trying to log in.

Lsilverman (talkcontribs)

So is this plugin not a standalone authentication option? Am I correct that a user must already have an account, and they're just adding Google as another form of authentication? I'm really looking for a plugin that is standalone -- users do not need to already have an account on the wiki.

Lsilverman (talkcontribs)

I'm coming from the LdapAuthentication plugin, which I may have to abandon because it seems incompatible with the Translate suite of extensions. I've set everything up according to instructions (aside from the fact that the two pages do not agree as to what URL to put for the Authorized Redirect URI -- is it GoogleLogin or GoogleLoginReturn?).

When I successfully auth to Google, I'm left with the same "Link status - not linked" as the original poster. If I go to Special:LinkAccounts, it tells me "There are no linkable accounts." Perhaps this is because I'm auth'd using Ldap?

Florianschmidtwelzow (talkcontribs)

Currently, GoogleLogin is not able to create accounts automatically, so yes, the user needs to create an account manually (or click "Create with Google" on the account creation page). It would be possible, that, if GoogleLogin is the only authentication provider, the user is automatically created based on the e-mail-address (something unique) retrieved from Google. However, this needs to be implemented first.

Btw.: That is not a problem from GoogleLogin only. If another authentication provider is only a link-provider, it can not be easily tweaked to create accounts automatically.

Reply to "Link status - not linked"