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
{{ message }}
Repository navigation
Receiving 401 Invalid Credentials with oauth2Client #55
I get the access_token and refresh_token through another process (Meteor OAuth) and tries to pass it to the oauth2Client.credentials, but it's not refreshing:
Hi Gabriel, could you explain what you mean? I think I'm seeing the same problem, where on development it doesn't refresh properly, but it works on production?
In that case I think I was trying to get a token generated from an app X created on Console API but with a client_id/secret from an app Y (probably because I dumped the db and restored on local db)
Hi i m getting same issue when i am calling enroll of EMM Google api using OAuth. actually i have service_account json which i got from google console. and using that i m creating Google credential instance and initialize HttpRequest to call enroll. please help me out what i m doing wrong.
Activity
gabrielhpugliese commentedon Jul 3, 2013
Found the problem. I'm invalidating the refresh_token on production when I try to test on development.
domino14 commentedon Oct 21, 2015
Hi Gabriel, could you explain what you mean? I think I'm seeing the same problem, where on development it doesn't refresh properly, but it works on production?
gabrielhpugliese commentedon Oct 23, 2015
In that case I think I was trying to get a token generated from an app X created on Console API but with a client_id/secret from an app Y (probably because I dumped the db and restored on local db)
verixomumbai commentedon Mar 11, 2016
Hi i m getting same issue when i am calling enroll of EMM Google api using OAuth. actually i have service_account json which i got from google console. and using that i m creating Google credential instance and initialize HttpRequest to call enroll. please help me out what i m doing wrong.