invisnik / laravel-steam-auth

Laravel Steam Auth
MIT License
172 stars 69 forks source link

Undefined offset: 1 in /vendor/invisnik/laravel-steam-auth/src/SteamAuth.php:95 #78

Closed devmigi closed 6 years ago

devmigi commented 6 years ago

Hi, Since today morning i'm getting this error! Anyone facing same issue?

ImWuX commented 6 years ago

I am getting the same error

ImWuX commented 6 years ago

It might be openid being down or smt. since I'm getting this since this morning too ? Need help!!!!

devmigi commented 6 years ago

Found the solution, on line /vendor/invisnik/laravel-steam-auth/src/SteamAuth.php:94, replacing preg_match("#^http://steamcommunity.com/openid/id/([0-9]{17,25})#", $get['openid_claimed_id'], $matches); with preg_match("#^https://steamcommunity.com/openid/id/([0-9]{17,25})#", $get['openid_claimed_id'], $matches); fixed it.

i was using v2.2.0

ImWuX commented 6 years ago

Yep this worked. what a legend thx!!