Forum Replies Created

Viewing 15 replies - 391 through 405 (of 574 total)
  • Plugin Author tbenyon

    (@tbenyon)

    Hey 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 πŸ™‚

    Plugin Author tbenyon

    (@tbenyon)

    Hey @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

    Plugin Author tbenyon

    (@tbenyon)

    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

    Plugin Author tbenyon

    (@tbenyon)

    Hey @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

    Plugin Author tbenyon

    (@tbenyon)

    Hey @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

    Plugin Author tbenyon

    (@tbenyon)

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

    Plugin Author tbenyon

    (@tbenyon)

    Hey 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

    Plugin Author tbenyon

    (@tbenyon)

    Thanks for taking the time to write a review.

    Really glad the plugin is working for you!

    😊

    Plugin Author tbenyon

    (@tbenyon)

    Hey @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-post

    Thanks,

    Ton

    Plugin Author tbenyon

    (@tbenyon)

    Glad you solved the issue πŸ™‚

    Plugin Author tbenyon

    (@tbenyon)

    Hey 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 databases

    A review would be much appreciated when you get the time.

    Thanks,

    Tom

    Plugin Author tbenyon

    (@tbenyon)

    Hey 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

    Plugin Author tbenyon

    (@tbenyon)

    This 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

    Plugin Author tbenyon

    (@tbenyon)

    Hey 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

    Plugin Author tbenyon

    (@tbenyon)

    Hey @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

Viewing 15 replies - 391 through 405 (of 574 total)