Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update README.md#503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
kimtth wants to merge1 commit intomicrosoft:dev
base:dev
Choose a base branch
Loading
fromkimtth:dev
Open

Update README.md#503

kimtth wants to merge1 commit intomicrosoft:devfromkimtth:dev

Conversation

kimtth
Copy link

Establish a connection using Browser Interactive mode

@kimtth
Copy link
Author

@microsoft-github-policy-service agree

@kimtth
Copy link
Author

Sorry for typos.

  1. tenant_id=tenant_id -> tenant_id=_tenant_id
  2. "access_token": access_token -> "access_token": access_token.token
# Fill in with your tenant id and org URLorganization_url='https://dev.azure.com/YOURORG'_tenant_id='YOURORG_TENANT_ID'# Create a connection to the orgcredentials=InteractiveBrowserCredential(tenant_id=_tenant_id)# The scope for the token should be 499b84ac-1321-427f-aa17-267ca6975798/.default which provides access to Azure DevOps Services REST API.access_token=credentials.get_token("499b84ac-1321-427f-aa17-267ca6975798/.default")token_auth=BasicTokenAuthentication({"access_token":access_token.token})connection=Connection(base_url=organization_url,creds=token_auth)

@JF6
Copy link

JF6 commentedAug 1, 2024

Nice addition (can be considered part of SFI imo)

@vs4vijay
Copy link
Member

It doesn't support refreshing the access token and other related use cases. We need proper support of Azure Identity in Azure DevOps SDK.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@kimtth@JF6@vs4vijay

[8]ページ先頭

©2009-2025 Movatter.jp