Setup
Getting Started

Getting Started

Implementing de[id] oauth into your existing stack is pretty straightforward. This guide will walk you through the process of setting up de[id] OAuth.

Create an Application

First, you need to create an application on the de[id] developer dashboard (opens in a new tab). This will give you a client_id and client_secret that you will use to authenticate your users.

Determine your oauth implementation

If you are using Next.js, you can use the @next-auth package to handle the oauth flow. If you are using a different framework, you can use the @passport package to handle the oauth flow.

Both of these packages are fully compatible with de[id] oauth. We even have example implementations for both of them.

Scopes

de[id] OAuth supports scopes. You can request access to specific scopes when you authenticate your users. You can find a list of available scopes below.

  • wallets:read - Read access to the user's wallets
  • collections:read - Read access to the user's collections
  • dust:read - Read access to the user's dust
  • socials:read - Read access to the user's socials
  • twitter:read - Read access to the user's twitter
  • discord:read - Read access to the user's discord
  • email:read - Read access to the user's email
  • telegram:read - Read access to the user's telegram