DEV Community

Cover image for How to configure the imgur API
Bearer Engineering for Bearer

Posted on • Originally published at bearer.sh

How to configure the imgur API

This guide explains how to configure the Imgur API, using OAuth2.0 for authentication.

Overview

  1. Sign in to your imgur account (step 1)
  2. Create a new application (step 2)
  3. Grab your credentials (steps 3)

Step by step

Step 1. Sign in to your imgur account. Imgur use the same account for their main website, as well as the developers portal.

imgur-home

Step 2. Once signed in, open the OAuth application registration form. From there:

  • enter your Application name
  • confirm that the Authorization type is OAuth2 authorization with a callback URL (default option)
  • register a redirect URL to handle the OAuth dance. Use https://int.bearer.sh/v2/auth/callback to let Bearer handle the authentication flow on your behalf.
  • provide an email

imgur-apps-new

Step 3. Click save and that's it! Imgur will prompt your API keys right away.

imgur-apps-keys

💡 If ever you need to find your credentials again, they are accessible from your account settings.

Video guide

Follow along as we create a new application:

What's next?

You're now all set to build an awesome integration with the Imgur API. To help you get it through easily, here are a few more links:

Top comments (0)