Skip to content
Snippets Groups Projects
  1. Jul 01, 2021
    • Antoine Lambert's avatar
      cli: Deprecate auth command group · d1f064f1
      Antoine Lambert authored
      The auth command group implementation has been moved to the swh-auth
      package so deprecate "swh web auth" commands in favor of "swh auth".
      
      Until removal, previous commands are now simply forwarded to swh-auth
      ones.
      
      Closes T3385
      v0.4.0
      d1f064f1
  2. Jun 09, 2021
  3. Apr 27, 2021
    • Antoine Lambert's avatar
      tox: Add sphinx environments to check sane doc build · 4b610adf
      Antoine Lambert authored
      Enable to check package documentation can be built without producing
      sphinx warnings.
      
      The sphinx environment is designed to be used in continuous integration
      in order to prevent breaking documentation build when committing changes.
      
      The sphinx-dev environment is designed to be used inside a full swh
      development environment.
      
      Related to T3258
      4b610adf
  4. Apr 21, 2021
  5. Mar 01, 2021
  6. Dec 17, 2020
  7. Dec 15, 2020
  8. Dec 14, 2020
  9. Dec 11, 2020
  10. Dec 03, 2020
  11. Nov 09, 2020
  12. Oct 22, 2020
  13. Oct 15, 2020
  14. Oct 06, 2020
  15. Oct 02, 2020
  16. Sep 25, 2020
  17. Sep 24, 2020
  18. Sep 18, 2020
  19. Sep 17, 2020
  20. Sep 10, 2020
  21. Aug 27, 2020
  22. Aug 25, 2020
  23. Aug 21, 2020
  24. Aug 06, 2020
  25. Apr 29, 2020
  26. Apr 20, 2020
  27. Apr 08, 2020
  28. Mar 24, 2020
    • Antoine Lambert's avatar
      client: Add OpenID Connect bearer token authentication · 492be567
      Antoine Lambert authored
      By providing a refresh token, obtained with the "swh auth login" command
      to the new authenticate method of the client, all emitted requests will
      be authenticated using a bearer token sent in headers.
      
      Related to T1927
      492be567
    • Antoine Lambert's avatar
      cli: Add auth command group · 842b7bc7
      Antoine Lambert authored
      Usage: swh auth [OPTIONS] COMMAND [ARGS]...
      
        Authenticate Software Heritage users with OpenID Connect.
      
        This CLI tool eases the retrieval of bearer tokens to authenticate a user
        querying the Software Heritage Web API.
      
      Options:
        --oidc-server-url TEXT  URL of OpenID Connect server (default to
                                "https://auth.softwareheritage.org/auth/")
        --realm-name TEXT       Name of the OpenID Connect authentication realm
                                (default to "SoftwareHeritage")
        --client-id TEXT        OpenID Connect client identifier in the realm
                                (default to "swh-web")
        -h, --help              Show this message and exit.
      
      Commands:
        login    Login and create new offline OpenID Connect session.
        logout   Logout from an offline OpenID Connect session.
        refresh  Refresh an offline OpenID Connect session.
      
      Closes T2268
      842b7bc7
  29. Mar 20, 2020
Loading