how fix? https://prnt.sc/o1svlc
panikajo Hi, I need some information about your installation - PHP version, Flarum version, when this error appears and also output of php flarum info.
It's probably a problem with your environment or affect of others extensions.
NomisCZ
@panikajo Thanks for reporting the bug (this error only appears if you set error_reporting to E_ALL).
Please update to v0.1.1.
composer update nomiscz/flarum-ext-auth-steam php flarum cache:clear
cannot bind account in profile page. stuck at redirecting. then return 502.
here is the get request
http://support.cards.farm/api/auth/steam/link?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198058999202&openid.identity=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198058999202&openid.return_to=http%3A%2F%2Fsupport.cards.farm%2Fapi%2Fauth%2Fsteam%2Flink&openid.response_nonce=2019-07-31T11%3A19%3A36ZvKxQcGvWLdMlxC7Mi0hLt3pN%2FeI%3D&openid.assoc_handle=1234567890&openid.signed=signed%2Cop_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle&openid.sig=8EoYOUpRSbgPEyCNReCrIbz91wc%3D
zjh4473 Did you set API key?
I just tried it with new account and works fine without problem.
NomisCZ i can login steam or choose an account that already logged in, but it won't redirect to my forum. i will update the api key and try again
NomisCZ i just tried to update the key but it still stuck at the login redirect. maybe there is something wrong.
cannot bind account in profile page. stuck at redirecting. then return 500. this link.
Littlegolden I'll check it ASAP.
NomisCZ thank you so much❤
@Littlegolden I checked it, but I only found a problem with account unlink (fixed - v0.1.3). I also installed the clean latest version of Flarum and extension, everything works fine.
I would suggest you check the PHP logs / server configuration. Also check database - login_providers table.
Tested on:
NomisCZ Thanks!! I'll try it right now!
NomisCZ 504 ERROR. Did I write the auth address wrong? Or is it because my country has a firewall, my cloud server cannot issue this command?
Littlegolden Domain Name: xxxx.yy without http/https and /xxx/xxx I tried it on a server in Germany, so it could be a problem in China or on the client side. Looks like the Steam API is not available in China.
OpenID Connect schema
NomisCZ I see, thank you. By the way, does Steam have an api interface that can bypass the Great Wall firewall like Google robot verification?
NomisCZ steampowered.com is no longer available for auth login, so I guess steam auth will be unavailable again in China.