IPS-SteamLoginMethod
IPS-SteamLoginMethod copied to clipboard
Steam Authorization Problem
Hello, when my users are trying to log in with Steam it's going to say:
Unable to validate Steam OpenID request.
does anyone know how can I solve that?
Hello mister.
I have found a somewhat decent solution to the problem. It's not pretty or smart, but it does the job.
If you insert the following code into the Steam.php file after line 27
In your install the file should be located inside YOURFORUMINSTALL/applications/steamlogin/sources/Login/Steam.php
if(!isset(\IPS\Request::i()->openid_ns) && isset(\IPS\Request::i()->{'openid.ns'})){
\IPS\Request::i()->openid_ns = \IPS\Request::i()->{'openid.ns'};
foreach(\IPS\Request::i() as $Key => $Value){
if(substr($Key, 0, 7) != 'openid.'){
continue;
}
\IPS\Request::i()->{'openid_'.substr($Key, 7)} = $Value;
}
}
When you have done this, it should look like this, and it should work (hopefully)
I have the same error and I have tried your fix but it does not work for me :*(
this app as well as other ones on the IPS marketplace have this issue. Valve just has issues validating tokens on their end... so valve time until they fix it basically.
Only fix for your site(s) is just keep trying until Valve token slides through eventually.
On Wed, Jun 19, 2019 at 10:45 PM KingHighwind [email protected] wrote:
I have the same error and I have tried your fix but it does not work for me :*(
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Lavoaster/IPS-SteamLoginMethod/issues/120?email_source=notifications&email_token=AAPOMPUDHLUGKBY3QTZGSZ3P3L4NJA5CNFSM4G7BOCX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYD5KHA#issuecomment-503829788, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPOMPSTOJQKUT4EDW5CFE3P3L4NJANCNFSM4G7BOCXQ .
-- -Justin Barth