📣 📣 📣

Ditch the manual DNS configurations. Join our webinar to learn how to automate your DNS infrastructure with DNSimple’s Terraform Provider!

🎟️ Secure your spot today! 🎟️

OAuth Applications

Table of Contents


When creating an application that requires access to DNSimple or letting an external application request authorization to private details in a user’s DNSimple account without getting their password, you’ll need an OAuth token.

If you only need basic access to the API, a regular user or account token can be used instead.

What is OAuth?

OAuth 2 is a protocol that lets external applications request authorization to private details in a user’s DNSimple account without getting their password. This is preferred over Basic Authentication, because tokens can be revoked by users at any time.

Developers need to register their application before starting. A registered OAuth application is assigned a unique client ID and client secret. The client secret should not be shared.

Creating a new OAuth application

  1. Navigate to your account page.
  2. Click the OAuth Applications tab on the left side, then go to the Developer applications card.
    screenshot of adding an oauth application

Your applications are listed here. You create a new application, edit existing applications, or remove them.

Creating a new developer application

Click Add to add a new access token.

When you create a new application, you’ll need to provide a few details, including Application Name, a Homepage URL, and an Authorization Callback URL.

Adding an application description is optional.

screenshot of creating a new oauth application

After the app has successfully been created, you’ll be taken to the page with your new application, showing your Client ID and Client Secret.
screenshot of successful creation of new oauth application

Both the Client ID and Client Secret are unique to your application, and the client secret should not be shared.

Revoking user tokens

You can revoke all user tokens for your application by clicking Revoke.
screenshot of revoking tokens for an oauth application

This cannot be undone. All clients will lose access to your application.

Deleting an application

This action cannot be undone, and will permanently delete your application. Any clients using the application will no longer be able to access DNSimple.

To delete an application, click Delete.
screenshot of deleting an oauth application

When deleting an application, you’ll receive a warning prompt to ensure you want to continue.
screenshot of confirming delete of oauth application

Interacting with the API through OAuth

For more details and step-by-step instructions on how to interact with DNSimple’s API through OAuth, read this developer guide.

Have more questions?

If you have additional questions or need any assistance with your OAuth Applications, just contact support, and we’ll be happy to help.