Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Token Generator Tool
Token Generator Tool

Token Generator Tool

DigitalSolution4A

|
2 installs
| (0) | Free
LoginTokenTool - Azure AD Access Token Generator for Visual StudioLoginTokenTool - Azure AD Access Token Generator for Visual Studio?? LoginTokenTool – Azure AD Access Token Generator for Visual Studi
Download

🔐 LoginTokenTool

LoginTokenTool is a lightweight and developer-friendly Visual Studio extension that simplifies the process of acquiring Azure Active Directory (Azure AD) access tokens. It integrates directly into the Visual Studio Solution Explorer and provides two seamless authentication flows via right-click commands.


🎯 Key Features

  • 🔑 Generate Azure AD Access Tokens with a single click
  • 🧍 Authorization Code Flow – Login interactively as a user
  • 🤖 Client Credentials Flow – Authenticate using ClientId + ClientSecret
  • 🗂 Context Menu Integration – Trigger from any project in Solution Explorer
  • 📄 Automatically reads credentials from:
    • appsettings.json
    • or User Secrets
  • 🪟 Token output is displayed in a shell window for easy copy/paste

💡 Use Cases

  • Test APIs with OAuth2 Bearer Tokens in Postman or Swagger UI
  • Validate Azure AD setup during development
  • Automate token retrieval workflows
  • Seamlessly integrate into custom Visual Studio tooling

🛠 Requirements

  • Visual Studio 2017 or newer
  • Azure App Registration with appropriate permissions
  • Project with either:
    • appsettings.json containing AzureAd section
    • or secrets set via dotnet user-secrets

🧪 Sample Configuration

{
  "AzureAd": {
    "TenantId": "your-tenant-id",
    "ClientId": "your-client-id",
    "Scope": ".default",
    "ClientSecret": "your-client-secret"
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft