Skip to content

How to use Google OAuth with Deno js?

Is there some libraries or modules for Google OAuth in Deno.js? I am trying to impelemnt google login on my web application and use this google account for uploading youtube videos in deno.js.

I am grateful for any help!



I think a generic solution for OAuth doesn’t exist yet. However, if you can override the default implementation, you can try authlete_deno_fen_oauth_server third party module.

There is a generic oauth2 module but not available at the moment.

If the above option doesn’t work, try using an npm module in deno as described in this stackoverflow thread and follow this medium article to achieve your goal.