OAuth authorization code flow isnt working

Instide the response to the curl request.

It’ll need to be JSON decoded and then you can exract it from the object

My JSON Decode is here

Token is in $token->access_token

Also as shown elsewhere in my example I linked to