Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Using OAuth 2.0 for Google (Youtube) API with Ionic

$
0
0

Hi

I am trying to implement Google’s YouTube API V3 on my Ionic application but I cannot.

So far I have tried 2 different methods without success:

  1. Use Google APIs Node.js Client. I followed this tutorial: https://github.com/googleapis/google-api-nodejs-client

However it does not work and according to my research it was not intended for Ionic.

  1. Create a URL as shown here: https://developers.google.com/youtube/v3/guides/auth/client-side-web-apps#oauth-2.0-endpoints

I then open it with InAppBrowser, the authorization process does this by opening the browser and it retrieves the access token, however, it requires a “Redirect URL” and I have to put a URL, I can’t find no way to return to the application WITH the token which has been added in the URL.

Maybe neither is right, I don’t know.

Any ideas ?
Thank you

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>