Impossible to connect with Imgur


The problem I have is that it is impossible for me to perform a conclusive connection test with Imgur.
Indeed, I get the following error:
“error”: “invalid_request”,
“error_description”: “Invalid user id.”
I did put the ID Client and Secret Client generated by Imgur on the Imgur service of OAuth0 but it doesn’t work.
I don’t understand where this problem comes from.
Thank you in advance!

Hi @TheYakuzo,

Welcome to the Community!

I just tried out the Imgur social connection, and I got the same error. I am going to reach out to the team responsible for social connections. It might be related to configuration settings.

I was able to create a custom connection for Imgur:

  • Go to social connections and click “+ CREATE CONNECTION”
  • Click “Create Custom” at bottom of list of social connections
  • Authorization URL:
  • Token URL:
  • Scope: leave blank
  • Fetch User Profile Script:
function fetchUserProfile(accessToken, context, callback) {
      url: '',
      headers: {
        'Authorization': 'Bearer ' + accessToken,
    (err, resp, body) => {
      if (err) {
        return callback(err);

      if (resp.statusCode !== 200) {
        return callback(new Error(body));

      let bodyParsed;
      try {
        bodyParsed = JSON.parse(body);
      } catch (jsonError) {
        return callback(new Error(body));

      const profile = {
        user_id: `${}`

      callback(null, profile);
1 Like

Thank you ! It work for me !

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.