Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Error: No authentication handler found. #2 #269

Closed
ghost opened this issue May 31, 2021 · 2 comments
Closed

Error: No authentication handler found. #2 #269

ghost opened this issue May 31, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented May 31, 2021

Set this repo up under a domain, and made what I believe to be the correct customization. After inputting Discord/Twitch Oauth information I get a Error No authentication handler found. error when trying to login.

Here is an output log of the error:
web.WARNING: No authentication handler found. {"trace":"#0 /www/www.destiny.gg/lib/Destiny/Controllers/LoginController.php(85): Destiny\\Common\\Authentication\\AuthenticationService->getLoginAuthHandlerByType('twitch/')\n#1 [internal function]: Destiny\\Controllers\\LoginController->authByType(Array, Object(Destiny\\Common\\Request))\n#2 /www/www.destiny.gg/lib/Destiny/Common/Application.php(224): ReflectionMethod->invokeArgs(Object(Destiny\\Controllers\\LoginController), Array)\n#3 /www/www.destiny.gg/lib/Destiny/Common/Application.php(111): Destiny\\Common\\Application->executeController(Object(Destiny\\Common\\Routing\\Route), Object(Destiny\\Common\\Request), Object(Destiny\\Common\\Response), Object(Destiny\\Common\\ViewModel))\n#4 /www/www.destiny.gg/public/index.php(53): Destiny\\Common\\Application->executeRequest(Object(Destiny\\Common\\Request))\n#5 {main}"} []

@ghost
Copy link
Author

ghost commented Jun 1, 2021

Error was fixed, was an issue with adding a trailing slash after redirect uri's. After attempting oauth logins now getting:
[2021-06-01 05:03:05] web.CRITICAL: An exception occurred while executing 'SELECT yt_mems.membershipLevelId, u_yt_chans.channelTitle, yt_mem_levs.name FROMusers_youtube_channelsASu_yt_chans INN\ ER JOINyoutube_membersASyt_mems ONyt_mems.memberChannelId=u_yt_chans.channelId INNER JOINyoutube_membership_levelsASyt_mem_levs ONyt_mem_levs.membershipLevelId= \yt_mems.membershipLevelId WHEREuserId= ?' with params [10]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'destinygg.users_youtube_channels' doesn't exist {"trace":"#0 /www/www.destiny.gg/vendor/doctrine\ /dbal/lib/Doctrine/DBAL/DBALException.php(169): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 /www/www.destiny.gg/vendor/doctrine/dbal/lib/Doctrine/\ DBAL/DBALException.php(145): Doctrine\\DBAL\\DBALException::wrapException(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'An exception oc...')\n#2 /www/www.destiny.gg/vendor/doctrine/dbal\ /lib/Doctrine/DBAL/Connection.php(913): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECTyt_mems...', Array)\n#3 /www/www.
destiny.gg/lib/Destiny/YouTube/YouTubeMembershipService.php(134): Doctrine\DBAL\Connection->executeQuery('SELECT yt_mems...', Array, Array)\n#4 /www/www.destiny.gg/lib/Destiny/Controllers/ProfileController.php(65): Destiny\\YouTube\\\ YouTubeMembershipService->getMembershipDetailsForUserId(10)\n#5 [internal function]: Destiny\\Controllers\\ProfileController->profile(Object(Destiny\\Common\\ViewModel))\n#6 /www/www.destiny.gg/lib/Destiny/Common/Application.php(224): R\ eflectionMethod->invokeArgs(Object(Destiny\\Controllers\\ProfileController), Array)\n#7 /www/www.destiny.gg/lib/Destiny/Common/Application.php(111): Destiny\\Common\\Application->executeController(Object(Destiny\\Common\\Routing\\Route)\ , Object(Destiny\\Common\\Request), Object(Destiny\\Common\\Response), Object(Destiny\\Common\\ViewModel))\n#8 /www/www.destiny.gg/public/index.php(53): Destiny\\Common\\Application->executeRequest(Object(Destiny\\Common\\Request))\n#9 \ {main}","guid":"xQuf4B8hVeEt"} []

@atlasesque
Copy link

Update your database with this script

@destinygg destinygg locked and limited conversation to collaborators Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants