Open WeeJeWel opened 11 months ago
Google requires ?access_type=offline in the authorization url:
?access_type=offline
https://accounts.google.com/o/oauth2/auth?access_type=offline&prompt=consent
This library concats ?client_id= which leads to two ?.
?client_id=
?
A more elegant way would be to use new URL() and then .searchParams.append('client_id', ...).
new URL()
.searchParams.append('client_id', ...)
Google requires
?access_type=offline
in the authorization url:This library concats
?client_id=
which leads to two?
.A more elegant way would be to use
new URL()
and then.searchParams.append('client_id', ...)
.