AutoWeb Imgur API authorization error

Discussion in 'AutoApps' started by Stupifier, Aug 11, 2017.

  1. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    I'm having issues getting authentification for the Imgur AutoWeb Service.

    1. I create an accoutn with Imgur
    2. I go to https://api.imgur.com/oauth2/addclient
    3. Fill out the information and use "0Auth 2 Authorization with a callback URL".
    4. Get Client ID and Client Secret
    5 Input Client ID and Client Secret into the prompts for them on Phone when I import Imgur AutoWeb service.
    6. Get taken to a page where I type in Imgur username/password and press "allow"
    7. Receive error.

    Code (Text):
    {"data":{"error":"Unauthorized","request":"\/oauth2\/authorize","method":"POST"},"success":false,"status":403}
     
  2. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Anyone got any clues on this one......kinda throwing me for a loop and would be nice to easily receive quick upload links for images using this AutoWeb Service :)
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Hi, are you still having this issue? It seems to come up from time to time with IMGUR but seems to eventually fix itself. Thanks in advance.
     
  4. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    I stopped trying but will try today soon and report back. Thanks!
     
  5. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Just tried it.....Same error message
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Hmm I just tried it and it seemed to let me log-in correctly. I logged in with my Google Account though. Did you do that too? Also did it open in a Chrome Custom Tab to authenticate?
     
  7. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    So I setup my imgur account using my Gmail email address. I use the Client ID and Client Secret given in Imgur settings. Then I get taken to a custom chrome tab which is asking for me to Allow AutoWeb access to my Imgur account.

    I've tried logging in with login details OR using the Login via Google. Both received same error page.

    When I back out, I get a Toast Notification saying AutoWeb Imgur Authentication failed.

    [​IMG][​IMG]
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Hmm I notice that you're not getting a custom tab to sign in there... Can you try again with yesterday's update for AutoWeb?
     
  9. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Just tried again using the latest AutoWeb (v 0.0.47b). Same screenshots, same issues. FWIW, the only browser I have installed is Chrome Dev.....never had issues displaying/using Chrome Custom Tabs
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Hmm that's probably the issue here. Can you display chrome custom tabs with AutoTools?
     
  11. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Yes, I actually have an action which I use to display a custom Tab.... I'll post a screenshot in a sec
     
  12. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Here is a Custom Tab action from AutoTools displaying Google website.[​IMG]
     
  13. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Thanks for that! Can you please try installing regular Chrome and see if that works for you? Thanks in advance!
     
  14. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Installed Chrome now.

    Ok...now it is slightly different....but result is the same.

    After typing in Client ID and secret Code, I get a popup from AutoWeb saying to press the check mark when finished Authentication. I'm then able to login and press "allow".....but the next screen is an error like always. Screenshots (possibly out of order) below. If I press check mark, nothing happens... Then I close the chrome custom Tab and receive the Error toast message in AutoWeb like before[​IMG][​IMG]
     
  15. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    What did you set your redirect URL to when you created your API client in Imgur?
     
  16. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    https://www.google.com

    That fine? What should it be?
     
  17. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
  18. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Ok. Updated the redirect URL in Imgur settings.....same error message as before..... :(
     
  19. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    It still says that the redirect uri is wrong?
     
  20. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Yes. Same error message when using the redirect uri you gave.

    I also even tried deleting and re-adding AutoWeb as an Application in Imgur...received new Client ID and Secret ID....tried over again and same error message. Here is a screenshot of my Settings-Application Page which where is where I get the ID's from and insert the redirect URI

    [​IMG]
     
: AutoWeb, Imgur

Share This Page