Discord OAuth2 verification is a verify step where members sign in on Discord’s own authorization screen instead of pressing a button in a channel. The member opens a verify link, Discord shows which permissions the app is asking for, and they press Authorize. The app then receives a token from Discord, never the password. It runs your checks and gives the verified role. With VaultCord, the same approval can include Join servers for you, so verified members can be added back to a server later.
This is for an owner deciding how members should verify. Know the trade first: OAuth2 verification can check far more than a button can, but it is one extra screen, and it runs on a Discord application you create and look after.
What is Discord OAuth2 verification?
OAuth2 is the standard Discord uses to let a member grant an app limited access to their account. The member signs in on Discord’s page, not the app’s, and approves a list of permissions called scopes. Discord’s developer documentation puts the point of the design plainly:
the resource owner’s credentials are never shared directly with the client
In a verification setup, the app uses that approval to confirm who the member is, check them against your rules, and give the role that opens the server.
What members approve
The Authorize screen lists each permission the app asks for. VaultCord asks for:
| Permission on the screen | Scope | Why it is there |
|---|---|---|
| Your username, avatar, and banner | identify | Always asked. Tells the app which Discord account verified |
| Join servers for you | guilds.join | On unless you turn it off. Lets the app add the member to a server, now or later |
| Email and other details | Optional | Premium settings such as View email address. Each one is asked only when you turn it on |
Discord’s documentation says identify returns the user “without email,” and guilds.join is used “for joining users to a guild.” Ask only for what you use. Every extra line on the screen is one more reason for a member to stop. Should you accept the “Join servers for you” permission? is written for members who are deciding.
OAuth2 verification vs a verify button
A button proves someone clicked inside Discord. OAuth2 verification happens on a web page, so it can check the connection and the account before the role is given.
| What it can check | Verify button | OAuth2 verification with VaultCord |
|---|---|---|
| A real click, not a script | Yes | Yes, with a captcha if you turn it on |
| Account age | Only if the bot adds it | Minimum account age, free |
| Known scammers | No | Block scammers from verification, free |
| VPN or proxy connection | No | Block VPN networks, Premium |
| A second account on the same connection | No | Alt account detection, Premium |
| Adding the member back to a server later | No | Yes, with Join servers for you |
How to block VPNs on a Discord server and Discord alt account detection cover those two checks.
Set up OAuth2 verification with VaultCord
VaultCord runs verification on a bot you create in Discord’s Developer Portal, so the members’ approval belongs to your own application.
- Create an application in the Discord Developer Portal. Create it under a Developer Team so more than one trusted person can reach it. Discord requires 2FA to create or join a team.
- Add it to VaultCord. In the dashboard, add a bot and paste its bot token, then its client secret.
- Add the redirect URL. In the application’s OAuth2 settings, press Add Redirect, paste
https://vaultcord.win/authexactly, and press Save Changes. - Invite the bot to your server, and put its role above your verified role. Do not give it Administrator.
- Set the verified role in your server’s VaultCord settings, and pick your checks under Security.
- Lock your channels. In Discord, open Server Settings, then Roles, pick @everyone, and turn off View Channels. Give the verified role View Channels. Leave one verify channel visible.
- Post the verify message with
/verify-embedin that channel, or send it from the dashboard.
Then test it with a second account. If you only want verification and never want to add members back, turn off Enable “Join servers for you” permission in the security settings.
How it works
- 1Member opens the verify link
Discord’s own Authorize screen lists what your app asks for. The password stays with Discord.
- 2VaultCord runs your checks
Captcha, account age, scammer list, and on Premium, VPN and alt checks.
- 3Role given, approval saved
The member gets the verified role and can be added back to a server later.
What happens after a member authorizes
- Discord sends the member back to VaultCord’s page with a one-time code, which VaultCord exchanges for the member’s token.
- Your checks run. A member who fails one does not get the role. Failed account age, VPN, and alt checks are listed under rejected members with the reason.
- A member who passes is added to the server if they are not in it yet, and given the verified role. If you turn on Don’t add members to your Discord server when they verify, they are saved but not added, and members already in the server still get the role.
- The member is saved, so they can be pulled into a server later. How to pull members on Discord explains how that works.
Is OAuth2 verification safe for members?
The member’s password is never sent to the app. They see every permission before they approve, and they can take the approval back at any time in Discord under User Settings, then Authorized Apps. After that, the app can no longer add them to servers.
Members can also ask VaultCord to stop storing their IP address and email on the Opt Out page. That does not remove them from servers or revoke the approval.
For the owner, the safety work is the application. Keep the bot token and client secret private, reset the secret in the Developer Portal if it ever leaks, and keep the bot without Administrator.
Limits to know
- Only people who verify are covered. Members who joined before you added the step, and never verify, cannot be checked or added back.
- Members can revoke. A member who removes the app under Authorized Apps is skipped by every later pull.
- It is one more step. Some members leave at the Authorize screen. Fewer permissions on the screen helps.
- You own the application. If its token is lost or the application is removed, members who approved it cannot be added back with a different one.
Discord’s own verification level still applies on top of this. Discord verification level explains how the two work together.
Frequently asked questions
What is OAuth2 on Discord?
It is how a Discord member gives an app limited access to their account, on Discord’s own Authorize screen, without sharing their password.
Can an OAuth2 verification bot see my password or messages?
No. VaultCord asks for your profile, and by default permission to add you to servers. It does not ask to read your messages.
Why does a verify bot ask to join servers for me?
So that if the server is deleted or nuked, the owner can add verified members to a new one. You can refuse by not verifying, or revoke it later under Authorized Apps.
Is OAuth2 verification free with VaultCord?
Yes. OAuth2 verification, captcha, minimum account age, and scammer blocking are on the free plan. VPN blocking and alt detection need Premium ($4.97 a month) or Plus ($9.97), at the standard monthly price.
Do I need my own Discord application?
Yes, for VaultCord verification. You create it in the Developer Portal and paste its bot token and client secret into the dashboard.
Sources and verification
Discord’s pages and VaultCord’s current code were read on the dates shown.
Keep reading
More guides for running a Discord server you can restore.




