microsoft / vsts-authentication-library-for-java

Retrieve OAuth2 or Personal Accesss Tokens for Visual Studio Team Services (visualstudio.com) accounts. Also provides secure storage for those secrets on different platforms.
MIT License
18 stars 23 forks source link

SWT JAR download URL is broken #48

Open mario-d-s opened 7 months ago

mario-d-s commented 7 months ago

This library contains a class that attempts to download the SWT JAR: https://github.com/microsoft/vsts-authentication-library-for-java/blob/master/core/src/main/java/com/microsoft/alm/auth/oauth/helper/SwtJarLoader.java#L26

However, the URL it uses only returns 404 for any of the JAR files it is supposed to download.

I eventually arrived here because the Azure DevOps plugin in JetBrains Rider IDE only presented the Device Code Authorization dialog instead of standard OAuth2.

Workaround for me was to download the JAR file manually and place it in $HOME/.swt/swt-x86_64.jar, but that should have been unnecessary.

SKUD201 commented 3 months ago

This issue is still active and needs to be fixed, especially for corporate users with device flow restrictions !

Thanks in advance !

jjulicherqic commented 3 months ago

@davidstaheli @yacaovsnc @olivierdagenais

Is anyone maintaining this repository? No issues have been resolved in relation to this repository and it's currently broken.