vue-google-login icon indicating copy to clipboard operation
vue-google-login copied to clipboard

How can I access the authorization code?

Open skrzypczynskiM opened this issue 2 years ago • 0 comments

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:

image

skrzypczynskiM avatar Nov 26 '21 11:11 skrzypczynskiM