• Resolved toooni

    (@toooni)


    Can you please update this plugin to work again with 4.9.5?

    Actual behavior with Version 4.9.5 –> Forward to steam loginpage –> Enter userdata –> Forward back to Website –> Empty site –> Press F5 –> An other Steam user is logged in on the website (The first Steamuser which is found in the WP database).

    Please fix asap.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter toooni

    (@toooni)

    Error is located in wp-steam-auth.php on line 106 ($findUser = get_users($args)) –> This function returns all Users instead of only the searched one with args.

    The next line 107 then takes the first of this found users ($findUser = $findUser[0])

    I will further analyse.. i think the real error happens earlier… maybe the preg_match on line 94 doesn’t work anymore because openid delivers an other format.

    Thread Starter toooni

    (@toooni)

    I found the reason/faulty code for this issue.

    Reason: Steam API was changed. After login when your redirected with 302, then the parameters have changed.

    Faulty Code in: wp-steam-auth.php LINE 93

    Replace this:
    $pattern = “/^http:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/”;
    With this:
    $pattern = “/^https:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/”;

    After that all works again because the preg_match command on Line 94 works again.

    drakoadm

    (@drakoadm)

    Toooni THANKS man!
    This correction save MY DAY!
    $pattern = “/^https:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/”;

    THANKS!! i am brazillian. sorry my bad english .
    and Thanks again!!!

    Thanks man!
    This plugin didnt work until i found this thread!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP 4.9.5’ is closed to new replies.