{"id":25736008,"url":"https://github.com/charzard1332/discordoauth2login","last_synced_at":"2026-06-16T00:32:23.504Z","repository":{"id":276426762,"uuid":"929275049","full_name":"Charzard1332/DiscordOAuth2Login","owner":"Charzard1332","description":"A .NET console app that lets users log in via Discord OAuth2 and checks their Nitro status","archived":false,"fork":false,"pushed_at":"2025-02-08T15:36:02.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T05:36:58.164Z","etag":null,"topics":["community","csharp","discord","login","oauth2"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Charzard1332.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-08T06:47:03.000Z","updated_at":"2025-02-08T15:40:20.000Z","dependencies_parsed_at":"2025-02-08T07:17:33.404Z","dependency_job_id":"524cb393-0c77-4936-9536-2187346ce2b2","html_url":"https://github.com/Charzard1332/DiscordOAuth2Login","commit_stats":null,"previous_names":["charzard1332/discordoauth2login"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Charzard1332/DiscordOAuth2Login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charzard1332%2FDiscordOAuth2Login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charzard1332%2FDiscordOAuth2Login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charzard1332%2FDiscordOAuth2Login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charzard1332%2FDiscordOAuth2Login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Charzard1332","download_url":"https://codeload.github.com/Charzard1332/DiscordOAuth2Login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charzard1332%2FDiscordOAuth2Login/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34386320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["community","csharp","discord","login","oauth2"],"created_at":"2025-02-26T05:35:36.213Z","updated_at":"2026-06-16T00:32:23.482Z","avatar_url":"https://github.com/Charzard1332.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎮 Discord OAuth2 Login - .NET Console App\n\n🚀 A **.NET Core console application** that allows users to **log in via Discord OAuth2** and **check their Nitro status**.\n\n---\n\n## ✅ Features\n- ✅ **Login via Discord OAuth2**\n- ✅ **Fetch and display Discord username \u0026 Nitro status**\n- ✅ **Check if the user has boosted any servers**\n- ✅ **Uses `HttpClient` for API requests**\n- ✅ **Simple, lightweight, and open-source**\n\n---\n\n## ⚙️ Setup \u0026 Installation\n\n### 🔹 **1️⃣ Clone the Repository**\n```sh\ngit clone https://github.com/Charzard1332/DiscordOAuth2Login.git\ncd DiscordOAuth2Login\n```\n\n### 🔹 **2️⃣ Install .NET SDK**\nEnsure you have the **.NET SDK** installed on your machine. If you don't have it, download it from:\n[.NET Download](https://dotnet.microsoft.com/download/dotnet)\n\nTo verify installation, run:\n```sh\ndotnet --version\n```\n\n### 🔹 **3️⃣ Configure Your Discord Application**\n1. Go to the [Discord Developer Portal](https://discord.com/developers/applications)\n2. Create a new application\n3. Navigate to **OAuth2** → **General**\n4. Note down your **Client ID** and **Client Secret**\n5. Set a **Redirect URI** to: `http://localhost:5000/callback`\n\n### 🔹 **4️⃣ Set Up Environment Variables**\nCreate a `.env` file in the project root and add:\n```sh\nDISCORD_CLIENT_ID=your_client_id\nDISCORD_CLIENT_SECRET=your_client_secret\nDISCORD_REDIRECT_URI=http://localhost:5000/callback\n```\n\nAlternatively, you can set them manually in your shell:\n```sh\nexport DISCORD_CLIENT_ID=your_client_id\nexport DISCORD_CLIENT_SECRET=your_client_secret\nexport DISCORD_REDIRECT_URI=http://localhost:5000/callback\n```\n\n### 🔹 **5️⃣ Run the Application**\nRun the following command to start the application:\n```sh\ndotnet run\n```\n\n---\n\n## 🛠 Usage\n- Open the provided **OAuth2 login URL** in your browser.\n- Authorize the application using your Discord account.\n- The app will fetch and display your **Discord username and Nitro status**.\n\n---\n\n## 📝 License\nThis project is open-source and available under the **MIT License**.\n\n---\n\n## 🌟 Contributing\nFeel free to submit **issues** or **pull requests** to improve the project!\n\n---\n\n## 📌 Disclaimer\nThis project is for **educational purposes** and is **not affiliated with Discord** in any way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharzard1332%2Fdiscordoauth2login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharzard1332%2Fdiscordoauth2login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharzard1332%2Fdiscordoauth2login/lists"}