Skip to content
  1. Jul 25, 2018
  2. Jul 24, 2018
    • Johannes Schindelin's avatar
      auth: pick Bearer authentication whenever a token is available · 6f5ef24f
      Johannes Schindelin authored
      
      
      So far, the code tries to pick an authentication method only if
      user/password credentials are available, which is not the case for
      Bearer authentictation...
      
      Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
      Closes #2754
      6f5ef24f
    • Johannes Schindelin's avatar
      auth: only ever pick CURLAUTH_BEARER if we *have* a Bearer token · df57b439
      Johannes Schindelin authored
      
      
      The Bearer authentication was added to cURL 7.61.0, but there is a
      problem: if CURLAUTH_ANY is selected, and the server supports multiple
      authentication methods including the Bearer method, we strongly prefer
      that latter method (only CURLAUTH_NEGOTIATE beats it), and if the Bearer
      authentication fails, we will never even try to attempt any other
      method.
      
      This is particularly unfortunate when we already know that we do not
      have any Bearer token to work with.
      
      Such a scenario happens e.g. when using Git to push to Visual Studio
      Team Services (which supports Basic and Bearer authentication among
      other methods) and specifying the Personal Access Token directly in the
      URL (this aproach is frequently taken by automated builds).
      
      Let's make sure that we have a Bearer token to work with before we
      select the Bearer authentication among the available authentication
      methods.
      
      Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
      Closes #2754
      df57b439
  3. Jul 22, 2018
  4. Jul 21, 2018
  5. Jul 20, 2018
  6. Jul 17, 2018
  7. Jul 16, 2018
  8. Jul 14, 2018
  9. Jul 12, 2018
  10. Jul 11, 2018
  11. Jul 10, 2018
  12. Jul 09, 2018
  13. Jul 08, 2018
  14. Jul 06, 2018