JSFiddle - React, Tailwind, and code Playground
by Nick Hulea
JavaScript
var clientid = '926671960648-r242k6avj3ll5v104mu7ojtl45m97pc2.apps.googleusercontent.com'
var url = 'https://accounts.google.com/o/oauth2/auth' +
"?client_id=" + encodeURIComponent(clientid) +
"&redirect_uri=" + encodeURIComponent(redirecturi) +
"&scope=" + encodeURIComponent(scopes) +
"&response_type=code&access_type=offline";