eveseat/eseye

tokengenerator test script errors

Closed this issue · 4 comments

I'm running the vendor/bin/tokengenerator to do some testing and trying to generate a refreshtoken to use. However when being redirected back to the callback URL, the refresh_token and auth_token fields are blank.

When I debug the curl and its return value they appear to be undefined.

[Thu Dec 28 04:48:21 2017] PHP Notice: Trying to get property of non-object in /eseye/vendor/eveseat/eseye/bin/index.php on line 349 [Thu Dec 28 04:48:21 2017] PHP Stack trace: [Thu Dec 28 04:48:21 2017] PHP 1. {main}() /eseye/vendor/eveseat/eseye/bin/index.php:0

Heya,

I just double checked and am able to successfully generate myself new tokens using the tokengenerator utility. What is the output of a var_dump($result) call here for you?

/eseye/vendor/eveseat/eseye/bin/index.php:346:boolean false ... doesn't seem to helpful

Pity, care to hop onto Slack so we can debug there?

This looks like it had some funnies where the callback URL was modified for use on a remote server. The tokengenerator tool is purely meant to help with getting tokens for local testing.