vue-google-login
vue-google-login copied to clipboard
How can I access the authorization code?
Putting response_type = 'code' into params doesn't help. I still receive the same response. But when I used google api in vanilla js with something like this:
gapi.auth2.authorize( { immediate: false, response_type: "code", cookie_policy: "single_host_origin", client_id: "XXX", scope: "email profile", },
I got this response, which is what I'm looking for: