tbenyon
Forum Replies Created
-
Forum: Plugins
In reply to: [External Login] Support for postgresSounds great. Not worked with PostgreSQL before so there’s been some learning.
I’m nearly there – hoping to get it finished in the next couple of hours. Once I’m done, would you be interested in downloading the plugin from the public repo on Github and testing it for me?
If this is difficult for you, I’ll just release it under my own testing but it’d be great to have another user test it.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Support for postgresJust letting you know that I haven’t forgotten about this feature request and I’m currently working on it. Hoping to get a working copy deployed today if everything goes to plan.
If not, I’ll keep you updated.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Support for postgresHey,
Not at the moment. But if you’re sure this plugin is what you’re going to use I can try and add the functionality this week?
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Fatal error when activating pluginHey @waldorf2007,
Really appreciate you flagging this bug.
It was a mistake on my end. When previously making the plugin better supported for earlier PHP versions I missed this correction.
For some reason it wasn’t throwing an error in my code but I’m not sure why it wasn’t.
Could you please try downloading version 1.3.1 of the plugin and let me know if your issue is fixed.
If it is and your happy with the plugin, a review would be much appreciated.
Thanks again for flagging the issue,
Tom
Forum: Plugins
In reply to: [External Login] Fatal error when activating pluginJust letting you know that I’m looking into this now for you. Will update when I know more.
Forum: Plugins
In reply to: [External Login] Does this include a workflow?Hey Asbell,
What your describing is OAuth.
I think you have three options:
If you’re only requiring login on one WP website, your best bet is using WordPress’ built in login system.
However, if you want to have a centralised login system for various different sites or apps to log in to, OAuth is what people use.
When I learnt the basics of how this works I used YouTube but to summarise:
This is made up of an authentication server and a resource server.– The user goes to your site.
– They click login.
– They get redirected to a different site with your authentication server.
– They login in on this site.
– They receive a couple of tokens and get redirected back to the site they requested login from.
– The user uses the OAuth token like a password to get and post information to the OAuth resource server which stores user data.I’m pretty sure plugins do exist that allow you to turn WordPress in to an OAuth server. This means you could use WordPress for your centralised data.
Alternatively, you can also get plugins which will allow you to use external OAuth services to login to WordPress. For example, the user clicks login on WordPress, they get redirected to Google or Facebook to login. They then get redirected back to your site as an authenticated user.
It all really depends on what you require for your solution but I hope this gives you enough info to help you research a solution.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Compatibilty with MSSQLI’m not marking this as resolved as I clearly haven’t. Just wanted to update and say I’m struggling to gain access to a MSSQL DB to test with so I haven’t been able to do this yet.
I will keep trying when I find time but if anyone knows where I can get access to a free test db I’d appreciate the feedback. I develop on Mac without access to a Windows machine to build one locally.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] MySQL IntegrationI think I answered your query here. Let me know if you need anything more but for now I’m marking this as resolved.
Forum: Plugins
In reply to: [External Login] Does this include a workflow?Hey Asbell,
I’m marking this as resolved as I think I’ve answered your question regarding the purpose of the plugin and that it doesn’t contain the workflow you’re looking for.
Get back to me if you need any other support.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Compatibilty with MSSQLHey @fbosito,
Thanks for the time you’ve taken on this. I’m happy to look at integrating your solution into the plugin if this would be useful.
My only issue is I don’t have access to Windows to get this setup and tested so it’s going to take a bit more time for me to arrange something my end.
Just wanted to let you know I appreciate your time and I’m not ignoring you and I’ll try and get round to it soon.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Required fields and salt locationHey @zalnart,
1) I completely agree with your first comment as First Name and Last Name appear not to be required by WP and the plugin is built to allow a default role. I’ll get this sorted asap.
2) Can you give me more information on what you are trying to make for your settings – or an example where the settings don’t work. I have done some validation for hiding elements when they’re not needed but I might have missed something. For example, if you are using bcrypt, you won’t have a field for a salt because the salt is stored as part of the password hash in the Database. Happy to help with this just need more info as my logic might be wrong?
3) I don’t know anything about mybb but if a small tweak could make this work for you I’m happy to help. I’m not sure why you need this unless the user flow is different to what I’ve built the plugin for (which may be the case).
The WordPress login session is assumed to be a completely different session any other site. If you are looking at shared login sessions you should really be looking at an OAuth solution in my opinion.
If you don’t need this, the login session is purely handled by WordPress.
Step 1 -> user logs in.
Step 2 -> we query the external database to see if their username and password are correct
step 3 -> we create or update the details of the new user
step 4 -> we log that user in
step 5 -> when the user logs out of wordpress the wordpress session endsThis doesn’t use the external login system at all – purely the username and password fields are looked up in the users table to validate them.
Thanks @zalnart,
Tom
Forum: Plugins
In reply to: [External Login] istallation in version WordPress 4.7.9That’s great news!
I’d be really grateful if you could write a quick review.
Thanks again for your help @zalnart!
Tom
Forum: Plugins
In reply to: [External Login] istallation in version WordPress 4.7.9Forum: Plugins
In reply to: [External Login] istallation in version WordPress 4.7.9Hey Zalnart,
Feel free to let me know about the changes you made so I can make it compatible. Alternatively, it’d be great if you can make a pull request:
https://github.com/tbenyon/wordpress_external_login_pluginThanks,
Tom
Forum: Plugins
In reply to: [External Login] MySQL IntegrationYou caught me at the right time ??
More than happy to help. The basic user storage of WordPress is pretty basic. You can add your own meta data to users and customise how this appears in the admin section so you can grow this however you like.
WordPress originated as simply a blogging platform and although it is growing in functionality the main plan for WordPress I believe is to keep it relatively light and allow plugins to add functionality specific to site needs.
However, It sounds like you’re struggling to find a plugin to do what you want it to do.
I would love to talk to you over the phone about your requirements as this as it’d be quicker, but I’m not allowed to give you my contact information. If you were to write your e-mail in a message here, it would come through to me in an e-mail but the WordPress team would pretty quickly redact it from this forum as it is not allowed.
If you would like to tell me more about what your requirements are I’d be happy to advise.
Thanks,
Tom