microsoft / azure-devops-intellij

IntelliJ IDEA plug-in for Visual Studio Team Services and Team Foundation Server (TFS)
MIT License
151 stars 94 forks source link

Can't create Full Scope PAT #481

Open JerrickLewis7190 opened 2 years ago

JerrickLewis7190 commented 2 years ago

My org is cracking down on fullscoped pats where they're not allowed to be created anymore. Can you add in the functionality to create partial scope pat?

getAuthenticationInfoAsync failed

java.lang.Error: java.io.IOException: HTTP request failed with code 400: {"$id":"1","innerException":null,"message":"FullScopePatPolicyViolation","typeName":"Microsoft.VisualStudio.Services.DelegatedAuthorization.SessionTokenCreateException, Microsoft.VisualStudio.Services.WebApi, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","typeKey":"SessionTokenCreateException","errorCode":0,"eventId":3000}

JerrickLewis7190 commented 2 years ago

Hello, I was wondering if there are any changes on this. I think it might be a good idea to allow the users to set whatever token they want to use. @ForNeVeR could I add this a requested feature?

JerrickLewis7190 commented 2 years ago

I made the change. Can anyone give me access to create a branch?

haven2world commented 2 years ago

Any updates? I'm experiencing the same. Looks like the plugin hasn't been updated in one year.

haven2world commented 2 years ago

@JerrickLewis7190 Maybe you can fork this repo and create a PR back?

morfj commented 2 years ago

Hoping for a fix soon here too!

YuiTH commented 1 year ago

Bumping up. This feature also breaks the private Nuget feed. It makes this plugin basically unusable in MSFT...

reza-repo commented 1 year ago

@JerrickLewis7190 did you ever create a PR?

alexcrownus commented 1 year ago

This is a major blocker.