When I receive Google-oauth2 token with node.js, can I prevent the authentication screen from appearing at the front end?

Asked 2 years ago, Updated 2 years ago, 132 views

Hello, I'm a beginner node.js developer.

I want to use YouTube as a video storage and video server in the service

To do this, everyone who comes into my service must upload with my token.

I am currently using the npm tube-api module

I'm getting an oauth2 token from Google to use YouTube API.

Using the module, we succeeded in receiving the first token, but

Due to the issue of the expiration date, I have to keep refreshing it.

At this point, there is a serious problem that users should see the Google login screen.

Is there any way to deal with this problem in the backend?

node.js youtube-api google oauth2

2022-09-22 18:54

2 Answers

https://www.domsammut.com/code/php-server-side-youtube-v3-oauth-api-video-upload-guide

Please refer to the link It's in php.


2022-09-22 18:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.