详情描述:
需要QQ登录功能
尝试了https://github.com/jymusic/flarum-ext-auth-qq 但找不到配置appid/密钥的地方,并且前台显示错误
https://github.com/minr/flarum-ext-auth-qq,可配置,但点开后报错
报错内容:
QQOauthController.php中缺少返回类型
将文件内容修改为github上的代码后正常,可以登录,但登录后仍然报错
access_token=E680BBB94BC726A414B62CEF7CE3A5&expires_in=7776000&refresh_token=1A92658DF15DF4401D3D3AF43B7C74
Fatal error: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /www/wwwroot/www.xxxxx.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:24 Stack trace: #0 /www/wwwroot/www.xxxx.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(40): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent() #1 /www/wwwroot/www.xxxxx.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(27): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 /www/wwwroot/www.xxxxx.com/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(98): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit() #3 /www/wwwroot/www.xxxxx.com/vendor/flarum/core/src/Http/Server.php(42): Laminas\HttpHandlerRunner\RequestHandlerRunner->run() #4 /www/wwwroot/www.xxxxx.com/public/index.php(26): Flarum\Http\Server->listen() #5 {main} thrown in /www/wwwroot/www.xxxxx.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php on line 24
想请教下。。 应该如何处理
或者有一个直接可以用的QQ登录插件吗