You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I am using PHP Slim and I embedded your sample index.php.
However it seems like that the authentification doesn't work.
I used an echo "hi"; and print_r($oauth2); to print where the page is stuck and it seems like the page never gets to the user informmation retrievement.
// ...if ($oauth2->isRedirected() === false) { // Did the client already logged in ?// The parameters can be a combination of the following: connections, email, identity or guilds// More information about it here: https://discordapp.com/developers/docs/topics/oauth2#shared-resources-oauth2-scopes// The others parameters are not available with this library$oauth2->startRedirection(['identify', 'guilds']);
print_r($oauth2);
echo "hi";
} else {
// ...
Hey,
I am using PHP Slim and I embedded your sample index.php.
However it seems like that the authentification doesn't work.
I used an
echo "hi";
andprint_r($oauth2);
to print where the page is stuck and it seems like the page never gets to the user informmation retrievement.Result is:
The text was updated successfully, but these errors were encountered: