You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node.js Version : 5.0.0
OS: Windows 10
Scope :Token Generation Using Google 0auth 2
Hi All,
In my Node JS application, we are using Client Secret ID for Google 0Auth 2. When I directly assign the static Client Secret ID to the google authentication key it is working fine. But when I read the value of Client Secret ID from a text box in the UI by code and assigned to google authentication key, on submit it is displaying an error message "the key is probably invalid".
Can you please advice.
Following is sample code:
function Verify(){
var options={
email: Client Secret mail
key: Client Secret ID,
scopes: ['https://www.googleapis.com/auth/content']
}
googleAuth.authenticate(options)
Thanks ,
Kiran Kumar.
The text was updated successfully, but these errors were encountered:
In My requirement keeping the P12 file in the solution folder would require a code checkin every time each different client. that's why I want to avoid using P12. Is there any other way please let me know
This doesn't look like a node-js problem specifically, and I don't have knowledge of this tech. It would probably be better posted on stackoverflow. How ever if you post a terminal photo or a package.json pic, of the package. And as well, your full error log, then maybe i can help point you in the right direction.
Node.js Version : 5.0.0
OS: Windows 10
Scope :Token Generation Using Google 0auth 2
Hi All,
In my Node JS application, we are using Client Secret ID for Google 0Auth 2. When I directly assign the static Client Secret ID to the google authentication key it is working fine. But when I read the value of Client Secret ID from a text box in the UI by code and assigned to google authentication key, on submit it is displaying an error message "the key is probably invalid".
Can you please advice.
Following is sample code:
function Verify(){
var options={
email: Client Secret mail
key: Client Secret ID,
scopes: ['https://www.googleapis.com/auth/content']
}
googleAuth.authenticate(options)
Thanks ,
Kiran Kumar.
The text was updated successfully, but these errors were encountered: