How can I get the client id once the Google has been configured?

I’m using account google to do the login, but I also need to use the google calendar api once the OAuth is successful. So the Client ID used in OAuth is still need, it configured through a popup using account-google, how can I retrieve it at client side?