The authorization code methods should always use auth code grant.
Closed this issue · 2 comments
DFurnes commented
Right now they'll use whatever grant is specified, or the default. We want these to aaaaalways use the authorization code grant & configuration, because they're silly otherwise!
itsjoekent commented
Whoops, ran into this again. Was banging my head for a bit yesterday haha
Edit: For reference here is the temp fix
https://github.com/DoSomething/voting-app/pull/537/files#diff-0c2a511808959453d0add1d6bc4008dfR51
itsjoekent commented
(writing debug notes)
when authorize
calls getAuthorizationServer
the grant configured is client_credentials
protected function getAuthorizationServer()
{
if (! $this->authorizationServer) {
dd($this->grant);