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 request an application from basedbob on Discord or TheBasedBob on TG / X. 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 walletscollections:read
- Read access to the user's collectionsdust:read
- Read access to the user's dustsocials:read
- Read access to the user's socialstwitter:read
- Read access to the user's twitterdiscord:read
- Read access to the user's discordtelegram:read
- Read access to the user's telegramsteam:read
- Read access to the user's steamemail:read
- Read access to the user's email