Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
kuo_glogin: log in to Textpattern with Google account
First I must put some fear in you: this plugin is experimental, use at your own risk. This one adds couple new tables (one for plugin’s preferences, other for banned users) to your database and modifies existing txp_users
table.
With this plugin people can register and login to your Textpattern website’s public side with their existing Google account. The plugin uses Google API’s Client Library for PHP. It can be found from GitHub. It’s also included to the downloadable zip file. To use this plugin you should:
- Upload the folder
kuo_glogin
to the root of your Textpattern website. - Install the plugin file and activate it.
- Go to Google Developers Console, create a new project which has Google+ API active, and create a Client ID and Client Secret.
(More detailed instructions and description is inside the plugin file, behind Extensions tab.)
Last edited by kuopassa (2014-08-16 20:16:57)
Offline
Re: kuo_glogin: log in to Textpattern with Google account
Looks nice! I was able to login without any problems.
Offline
Re: kuo_glogin: log in to Textpattern with Google account
works just fine from my end:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: kuo_glogin: log in to Textpattern with Google account
Worked for me.
Offline
Re: kuo_glogin: log in to Textpattern with Google account
Thanks for feedback! The plugin’s been updated and is now available. Download link and more info is at the opening post.
Offline
#6 2014-08-17 01:38:27
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: kuo_glogin: log in to Textpattern with Google account
What is the advantage or what is interesting about this, log in with the Google account?
Offline
Re: kuo_glogin: log in to Textpattern with Google account
User can access somewhat easily to content which is shown only to registered users. For example website could offer freebies (like articles, images, files) to their logged in users. Website owner then in return can benefit of having a list of names, email addresses etc. information, which can be used in newsletters. Stuff like that.
Offline
#8 2014-08-17 12:46:52
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: kuo_glogin: log in to Textpattern with Google account
Oh, it is public side, I had not noticed that.
Offline
Re: kuo_glogin: log in to Textpattern with Google account
It would be cool – maybe not possible – if the logout screen did not end on txp’s login screen.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: kuo_glogin: log in to Textpattern with Google account
colak: Yes, it’s possible. Textpattern admin can set in the plugin’s preferences the URL where user is redirected after logging out.
Offline
Re: kuo_glogin: log in to Textpattern with Google account
I’m just trying to install the plugin, but I seem to be getting an error. I’ve double checked the settings, and tried creating a new project, but to no avail. The error I get when trying to login is:
401 Error, Error: invalid_client
no application name
from_login=1
response_type=code
scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
redirect_uri=http://www.glaciergaming.co.uk/kuo_glogin/index.php
access_type=online
approval_prompt=auto
as=254d36d6f131e400
pli=1
client_id=CLIENTID
authuser=1
hl=en
Any ideas?
Last edited by SPKuja (2014-09-30 14:58:13)
Offline
Re: kuo_glogin: log in to Textpattern with Google account
You could try this trick:
- Go here
- Choose APIs & auth, then Consent screen
- Make sure you have some email address and something in the Product Name box
(Oh, and I’ve noticed that there could be a short delay, maybe couple minutes, if you choose to change settings in Developers Console.)
Last edited by kuopassa (2014-09-30 13:00:16)
Offline