I'm working on a jhipster application, I want to upload videos to a youtube channel, so is it necessary to work with Oauth security to connect to google or can I work with jwt authentication?
Related
I work for a company that monitors YouTube activity in channels that some of our clients own. I need to access and download that data using the YouTube Analytics and/or Reporting APIs. I know that I need to use OAuth2, which I'm able to (for channels that I myself own).
Is there an OAuth2 authorization flow that I can use to access my client's account, get a token, and run the (python) code?
Maintain permanent user connection with YouTube API V3, without requiring repetitive authentication.
When requesting authorization with "access_type = offline" the API requires authorization again the next day. I need a permanent connection to the YouTube channel.
A client has requested implementation of the new Google Photos API as a feed of their photos on the website.
The issue arises whereas the library only supports OAuth 2.0 to authorise the library requests. Meaning that each visitor needs to authenticate themselves prior to seeing the photos.
Authorization
Like other Google REST APIs, the Library API uses OAuth 2.0 to handle authentication and authorization. Your app can request access to the user's Google Photos library via the various authorization scopes provided by the API.
Note that the Library API does not support service accounts; to use
this API, users must be signed in to a valid Google Account.
Does anyone know a way that I can authenticate the library for all web traffic? I want to use Google Photos as a CMS for images and have a constant feed on the site.
Since the Google Photo APIs requires OAuth 2.0 User Credentials, you will not be able to use this API as a CMS for you website.
Each API request requires an OAuth Token and this token can only be obtained by a person authenticating with Google Accounts. The OAuth Flow requires the user to authenticate and grant permission to their personal Google Account.
In addition this API requires that you create OAuth Client Secrets which is used to track your app.
How to configure my web app (Asp.NET MVC)!?
I use identity with Google login, but I don't understand how to configure my app.
Because in the documentation have 2 samples, but I don't understand how is good config my Apis!?
You will have to register your application in Google Developer console.
Next, after authentication succeeded, you will have to send a request to YouTube Api with the obtained tokens a client ID and secret
You can try out these from the Google Api playground best before coding.
Link: https://developers.google.com/oauthplayground/
is it possible to retrieve a public youtube playlist with the google-api-objectivec-client without asking the user to login in order to perform the OAuth 2.0 authentication?
I'm working on an app which should retrieve a playlist from youtube and play related videos, but I cannot and don't want to ask the user to login.
In the examples of google-api-objectivec-client (https://code.google.com/p/google-api-objectivec-client/source/browse/#svn%2Ftrunk%2FExamples%2FYouTubeSample) I'm not able to achieve it without OAuth 2.0 authentication.
Thanks,
DAN
Yes, you don't need OAuth2 login for that. You can simply do it by setting your API key instead.
It's a playlistItems->list request.
Here's demonstration in api explorer: https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.playlistItems.list?part=snippet&playlistId=PLjFEz-E0UPUxw3lFpnfV1dDA7OE7YIFRj&_h=2&
Instead of setting the authorizer of the service to OAuth2 login like in
youtubeservice.authorizer = [GTMOAuth2ViewControllerTouch
authForGoogleFromKeychain.....
set it's API key to your API key from cloud console in Public API access.
youtubeService.APIKey = xxxxxx