tbenyon
Forum Replies Created
-
Forum: Plugins
In reply to: [External Login] Adding SaltHey Wayne,
I think I may have found the issue if your hashing algorithm is set to ‘none’.
The issue is in the following file in the plugin:
login/validate_password.php
Current line:
if ($algorithm == "bcrypt" || $algorithm == "phpass" || $algorithm == "phpcrypt") {The line should read:
if ($algorithm == "bcrypt" || $algorithm == "phpass" || $algorithm == "phpcrypt" || $algorithm == "none") {If you can test this that’d be great.
You could also prove this is correct by typing in a completely lower case version of the password as this should authenticate you.
I’m going to get this fix into the next release π
Forum: Plugins
In reply to: [External Login] unable to login using this pluginHey @agentmishra,
Of course I’ll let you know when I’m done π
As said previously there’s something I need from you to assist me doing the work but I wasn’t clear about what I needed.
Could you please create a new user in your Blesta system with the password βpassword1β. Could you then send me the hash that is created in the users table so that I can test the solution locally for you.
I want to make sure that the example code I give you for External Login will correctly convert “password1” to the hash that your Blesta system creates.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] What to write in roles section?Hey @metapost,
Does your external system support different roles?
If you are happy that all the users that get authenticated with External Login are given the same role in WordPress, you can use the Unspecified Role feature.
“This is default role that will be assigned to users who don’t match a following role mapping.”This way you can make all users come through as ‘Editor’ or subscriber or whatever you fancy π
Let me know if this answers your question.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] –Block– user role not blockingHey @geckonet,
Thanks for the detailed posts.
Just wanted to let you know Iβm not ignoring you and am just struggling to find the time to properly look into this.
Iβm hoping to get this resolved this weekend.
Will keep you posted but feel free to chase me on Monday if you havenβt heard back π
Tom
Forum: Plugins
In reply to: [External Login] Active/Inactive UsersHey @mainpagepl,
Thanks for the detailed posts.
Just wanted to let you know I’m not ignoring you and am just struggling to find the time to properly look into this.
I’m hoping to get this resolved this weekend.
Will keep you posted but feel free to chase me on Monday if you haven’t heard back π
Tom
Forum: Plugins
In reply to: [External Login] Adding SaltHey Wayne,
I just switched my PHP version to 5.6.32 and everything worked fine for me.
If you would like to go back to that php error log file and copy the last 20 lines in here (if there’s anything useful) that’d be helpful.
If not the next step is probably for me to add a new feature to the plugin that would generate:
- A list of the current settings (without sensitive information)
- A tickbox to add additional loggin to the error log file
- Load the last 30 lines from the php error log file that are external login relavent
Users could then paste this information into support forms so that I can further help diagnose the problem.
Forum: Plugins
In reply to: [External Login] unable to login using this pluginHey Amit,
Thanks for the link as I am unfamiliar with Blesta.
Blesta use a very custom system as outlined here:
Before a password is hashed using bcrypt, however, it is hashed using HMAC SHA-256. The HMAC SHA-256 process produces a 256-bit (64-hexadecimal character) string, which is then hashed using bcrypt. This extra step provides additional security for short passwords, extremely long passwords (see denial of service), and dictionary attacks.
I actually feel their attempt to be more secure by adding in a two step system is far less secure than requiring a better password from their users and would in fact cause little additional benefit. However, this is not the topic for discussion.
The flat answer is that the plugin currently doesn’t support this as it is such a custom solution. I have a task in my backlog to create a hook so that you could add a custom hashing solution in your functions.php file.
I will bump it up the list and will leave this thread open so I can update you when I get round to adding this feature. I’ll also try to add an example code snippet that you would need to add to your functions.php file.
To assist me doing this, could you please create a new user in your Blesta system with the password “password1” so that I can test the solution locally for you.
Thanks Amit,
Tom
Forum: Reviews
In reply to: [External Login] Great plugin and developerThanks for taking the time to write a review.
Really glad the plugin is working for you!
π
Forum: Plugins
In reply to: [External Login] Role based on integer valueHey @rapideyemovement,
Really glad itβs all working π.
Iβd really appreciate it if you could take the time to write a one line review:
https://wordpress.org/support/plugin/external-login/reviews/#new-postThanks,
Ton
Forum: Plugins
In reply to: [External Login] MySQL on Pythonanywhere with SSHGlad you solved the issue π
Forum: Plugins
In reply to: [External Login] Prioritize local account if it existsHey Jim,
The code is now deployed.
Version 1.7.1:
– Fixed broken logo icon in production build
– Added ability to login with e-mail address or password on mysql databasesA review would be much appreciated when you get the time.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Prioritize local account if it existsHey Jim,
I’ve written this functionality now but it currently only works for mysql databases. If you can confirm you don’t need this to work for Postgres I’ll deploy it.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Adding SaltThis has only stopped working since this update? Please try and download the copy from wordpress.org from the admin area of your site and see if this fixes it.
If not, could you please look at your php error logs and send me any issues you see.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Prioritize local account if it existsHey Jim,
1) The logo is missing from the admin settings page because the assets dir is missing from the plugin zip (I grabbed it from Github and dropped it into my local copy and it works).
You’re right! Hadn’t seen this on my development copy. I’ll look into it.
2) Should users be able to login with either username or email like they can with the regular WP login? I can force it to email by changing the username field in the settings from user_login to user_email, but itβd be awesome if it could use either.
You’re not the first to request this. Do you need this to go live on a project and if so do you have a deadline on when you need this by?
Also – could you please do me a favour and write me a review?
https://wordpress.org/plugins/external-login/#reviews
Thanks,Tom
Forum: Plugins
In reply to: [External Login] Prioritize local account if it existsHey @jmock,
This is now complete and deployed.
Could you please test it and let me know if it is working as you expected.
Thanks,
Tom