biqasoft / auth-microservie

Authentication microservice(stateless) with REST/grpc support; fail auth limit per interval, swagger, user registration, update... etc with multitenancy; and mongodb as DB
2 stars 0 forks source link

2020 - add basic features #1

Open NBakaev opened 4 years ago

NBakaev commented 4 years ago

Biqasoft

Auth gateway endpoints

!- Login (auth) !- get current user !- view oauth2 tokens

NBakaev commented 4 years ago

youTube.playlists().list("").execute() youTube.playlists().list("id, idParam, channelId, mine, myRated").execute()

400 Bad Request { "code" : 400, "errors" : [ { "domain" : "youtube.parameter", "location" : "", "locationType" : "parameter", "message" : "No filter selected. Expected one of: id, idParam, channelId, mine, myRated", "reason" : "missingRequiredParameter" } ], "message" : "No filter selected. Expected one of: id, idParam, channelId, mine, myRated" }

=== https://developers.google.com/apis-explorer

YouTube Data API declares the following scopes. Select which ones you want to grant to APIs Explorer. https://www.googleapis.com/auth/youtube Manage your YouTube account https://www.googleapis.com/auth/youtube.force-ssl Manage your YouTube account https://www.googleapis.com/auth/youtube.readonly View your YouTube account https://www.googleapis.com/auth/youtube.upload Manage your YouTube videos https://www.googleapis.com/auth/youtubepartner View and manage your assets and associated content on YouTube https://www.googleapis.com/auth/youtubepartner-channel-audit View private information of your YouTube channel relevant during the audit process with a YouTube partner Add additional scopes (optional):

NBakaev commented 4 years ago

Request URL: https://content.googleapis.com/youtube/v3/playlistItems?part=snippet&maxResults=50&playlistId=PL38GvMd4EPJAN5sVKoYK2vomtqseXBQk4&key=123456 authorization: Bearer 12345

https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.playlistItems.list?part=snippet&maxResults=50&playlistId=PL38GvMd4EPJAN5sVKoYK2vomtqseXBQk4&_h=12&