Skip to content

Conversation

@bmiddha
Copy link
Member

@bmiddha bmiddha commented Oct 1, 2025

Summary

Fix bug where there is a trailing \n character in tokens from AdoCodespacesAuthCredential

Details

stdout from azure-auth-helper needs to be trimmed to remove the trailing newline from the token result.

token result:

{"token":"ey.....SwzQ\n","expiresOnTimestamp":1759351393000}

How it was tested

Validated by using the built JS for AdoCodespacesAuthCredential.js in target repo.

@bmiddha bmiddha merged commit 3556cbf into main Oct 1, 2025
8 checks passed
@bmiddha bmiddha deleted the bmiddha/azureauthhelpertrim branch October 1, 2025 20:43
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

3 participants