Change Sign-In Method
How to switch between different authentication methods in DBCode.
DBCode offers multiple ways to sign in: built-in VS Code authentication providers (GitHub, Microsoft), web-based sign-in, and offline activation. You may need to switch methods if the built-in provider isn’t working, you want to use a different account, or you need to sign in with an email address or a provider not available through VS Code.
Available Sign-In Methods
Built-in Providers
- GitHub - Uses VS Code’s built-in GitHub authentication
- Microsoft - Uses VS Code’s built-in Microsoft authentication (VS Code only, not available in Cursor or other editors)
Web Sign-In
- Opens your browser for authentication
- Supports Microsoft, Google, GitHub, or email-based sign-in
- Works in any editor (VS Code, Cursor, etc.)
- Useful when built-in authentication is blocked or not working
Offline Activation
- For air-gapped or restricted environments
- See Offline License Activation for details
When to Change Sign-In Methods
Common reasons to switch:
- VS Code authentication issues - The built-in GitHub or Microsoft sign-in isn’t working or is blocked by your network
- Using a different editor - Microsoft authentication isn’t available in Cursor or other VS Code forks
- Different account needed - You want to use a Google account or email address instead
- Corporate restrictions - Your organization restricts certain authentication providers
How to Change Your Sign-In Method
Step 1: Sign Out of Your Current Account
- Open VS Code and click the DBCode icon in the Activity Bar
- Navigate to the Account tab in the DBCode sidebar
- Click the Sign-Out icon next to your account details
- Confirm the sign-out when prompted
Step 2: Remove DBCode from Trusted Extensions (Built-in Providers Only)
If you were signed in using a built-in provider (GitHub or Microsoft) and want to switch to a different method, you need to remove DBCode from that provider’s trusted extensions:
- Click the Profile icon in the bottom-left corner of VS Code (or the Account icon in the Activity Bar)
- Find the authentication provider you were using (e.g., “GitHub” or “Microsoft”)
- Click on it to expand the options
- Select Manage Trusted Extensions
- Find DBCode in the list and uncheck it (or click the X to remove it)
This prevents VS Code from automatically signing you back in with the previous provider when you next sign in to DBCode.
Step 3: Sign In with a New Method
-
In the Account tab, click Sign In…
-
A prompt will appear with the available options:
- Sign in with GitHub - Uses VS Code’s built-in GitHub authentication
- Sign in with Microsoft - Uses VS Code’s built-in Microsoft authentication (VS Code only)
- Sign in via the Web - Opens your browser with support for Microsoft, Google, GitHub, or email
- Offline Activation - For air-gapped environments
-
Select your preferred method
Using Web Sign-In
If you select Sign in via the Web:
- Your browser will open to the DBCode activation page
- Choose your preferred sign-in method:
- Sign in with Microsoft
- Sign in with Google
- Sign in with GitHub
- Sign in with Email (magic link)
- Complete the authentication in your browser
- The license will automatically activate in VS Code
Troubleshooting
Built-in authentication not working
If GitHub or Microsoft sign-in through VS Code isn’t working:
- Sign out of your current account
- Remove DBCode from the provider’s trusted extensions (see Step 2 above)
- Select Sign in via the Web instead
- Choose the same provider (GitHub or Microsoft) in the browser, or use Google or email
- Your license will continue to work normally
Need to use a different email
If you need to use a specific email address:
- Sign out of your current account
- Select Sign in via the Web
- Choose Sign in with Email
- Enter your email address to receive a magic link
- Click the link in your email to complete sign-in
License still associated with old account
Your license is associated with your account, not the sign-in method. If you sign in with a different provider but the same email address, your license will be retained. If you need to transfer a license to a different account, contact help@dbcode.io.