Oauth2 issue with passport-zendesk : Failed to fetch user profile



Data ultimo post: 19 nov 2021

Hi everyone,
We have been encountering issues with OAuth2 in Zendesk.
We use passport-zendesk (JS) and we encounter this problem.
✖  ERROR     RuntimeError: Failed to fetch user profile 
err[name] InternalOAuthError
err[message] Failed to fetch user profile
err[oauthError] {
  statusCode: 401,
  data: '{"error":"invalid_token","error_description":"The access token provided is expired, revoked, malformed or invalid for other reasons."}'
}
----------------------------------------------------------------------
  oauth2.get('https://' + subdomain + '.zendesk.com/api/v2/users/me.json', accessToken, function(err, body) {
    var json;
    var profile = {};

    if (err) {
      return done(new InternalOAuthError('Failed to fetch user profile', err));
    }
Does someone have same issue ?
Thanks

0

1

1 commento

Hey Charles,

We began rolling out a change on Friday that caused this issue, we've since rolled back the change so you should be up and running. We apologize for the inconvenience! 

0


Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post