Category : oauth-2.0

I need to obtain the list of upcoming livestream from my Youtube Channel and show them to my website visitors. Problem is that with the simple API Key http request (‘https://youtube.googleapis.com/youtube/v3/’) I can’t access to scheduledStartTime value. The only way to do that is using an oauth authentication, so the request would be ‘GET https://www.googleapis.com/youtube/v3/liveBroadcasts’ ..

Read more

I’m developing a PHP web application with Calendar API integration and OAuth 2.0 authentication. By mistake, I deleted my first project, which worked perfectly. I’m now setting up a new project but I always get the same error: Uncaught Google_Service_Exception: { "error": "unauthorized_client", "error_description": "Unauthorized" } The error happens at this point: $this->client->createAuthUrl(); This is ..

Read more

I have a website and I am trying to patch the discord oauth2 integration for login. The code was used from the github by Jengas. Everything is going perfect and redirection also working but it doesn’t return the username, email or avatar.. except, it returning the else condition which is (Not logged in, login) Here ..

Read more

I do this steps: Take token from https://oauth2.googleapis.com/token using auth code Its success and shows me access_token, expires_in, refresh_token and etc Then i use it to check with API opening https://www.googleapis.com/oauth2/v3/userinfo?access_token=xxx All works perfect. I see my information. Then i revoke token with https://oauth2.googleapis.com/revoke and get success answer with 200 code Try again step 3, ..

Read more