teamreflex / oauth2-discord

OAuth2 client for authenticating with the Discord API servers
MIT License
61 stars 26 forks source link

No data #23

Open 13r1ckz opened 6 years ago

13r1ckz commented 6 years ago

after login in I recive: Notice: Undefined variable: getOldTokenFromMemory in **location** Fatal error: Call to a member function getRefreshToken() on null in **location**

when i comment out: $refresh = $provider->getAccessToken('refresh_token', [ 'refresh_token' => $getOldTokenFromMemory->getRefreshToken(), ]);

then are $guilds, $connections and $user are empty

anyone knows what I do wrong or a fix?

ghost commented 6 years ago

I got the same error here.