https://github.com/charzard1332/discordoauth2logingui
A Windows Forms Application (.NET) for authenticating users via Discord OAuth2 and displaying their profile info, Nitro status, and more!
https://github.com/charzard1332/discordoauth2logingui
api discord gui oauth2 winforms
Last synced: about 1 month ago
JSON representation
A Windows Forms Application (.NET) for authenticating users via Discord OAuth2 and displaying their profile info, Nitro status, and more!
- Host: GitHub
- URL: https://github.com/charzard1332/discordoauth2logingui
- Owner: Charzard1332
- License: mit
- Created: 2025-02-08T15:47:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-08T16:43:32.000Z (over 1 year ago)
- Last Synced: 2025-02-08T17:26:33.533Z (over 1 year ago)
- Topics: api, discord, gui, oauth2, winforms
- Language: C#
- Homepage:
- Size: 285 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 🎮 Discord OAuth2 Login - WinForms App
🚀 A **Windows Forms Application** that allows users to **log in via Discord OAuth2** and **fetch their profile data, Nitro status, and more**.
## ✅ Features
- 🔐 **Login via Discord OAuth2**
- 🎭 **Fetch & Display Discord Username & Nitro Status**
- 🎖 **Retrieve User's Badges**
- 🔗 **Get Connected Accounts (Steam, Xbox, etc.)**
- 🚀 **Display Boosted Servers**
- 🔄 **Automatic Token Refreshing**
- 🖼 **Show User's Avatar**
- 🔥 **User-Friendly Windows UI**
---
## ⚙️ Setup & Installation
### 🔹 **1️⃣ Clone the Repository**
```sh
git clone https://github.com/YOUR_GITHUB_USERNAME/DiscordOAuth2WinForms.git
cd DiscordOAuth2WinForms
```
### 🔹 **2️⃣ Change Client ID And Secret**
OAuthHelper.cs
```cs
private static readonly string clientId = "YOUR_CLIENT_ID_HERE";
private static readonly string clientSecret = "YOUR_CLIENT_SECRET_HERE";
private static readonly string redirectUri = "http://localhost:5000/callback";
```
### **3️⃣ Build Application**
```
Ctrl + Shift + b
```
## 🛠 Usage
- Open the provided **OAuth2 login URL** in your browser.
- Authorize the application using your Discord account.
- The app will fetch and display your **Discord username and Nitro status**.
---
## 📝 License
This project is open-source and available under the **MIT License**.
---
## 🌟 Contributing
Feel free to submit **issues** or **pull requests** to improve the project!