microsoft / microsoft/DataFactory.MCP

Reliability & Observability - Improve authentication token handling

Open
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
42
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Issue: Improve authentication token handling

Labels: enhancement, reliability, priority:high

Problem:
Token expires mid-session with no warning. User must re-authenticate reactively.

Proposed Solution:

  • Auto-refresh tokens before expiry
  • Add check_auth_status tool to verify token validity
  • Include token expiry time in auth response

Acceptance Criteria:

  • Tokens auto-refresh when near expiry
  • check_auth_status returns: valid (bool), expires_at, user_email
  • Clear error message when token invalid

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by tracing the existing authentication token lifecycle and auth response, then identify the entry point for the proposed check_auth_status tool. Done means tokens refresh near expiry, the status result includes valid, expires_at, and user_email, and invalid tokens produce a clear error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.