HomeSoftware Heritage

client: Add OpenID Connect bearer token authentication

Authored by anlambert on Mar 20 2020, 6:43 PM.

Description

client: Add OpenID Connect bearer token authentication

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

Details

Committed
anlambertMar 24 2020, 12:06 PM
Pushed
anlambertMar 24 2020, 12:08 PM
Differential Revision
D2869: client: Add OpenID Connect bearer token authentication
Parents
rDWCLI842b7bc7ca92: cli: Add auth command group
Branches
Unknown
Tags
Unknown
Build Status
Buildable 11310
Build 17102: test-and-buildJenkins