You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Can OAuth be used for external tools authentication ?
Currently, we have a tool that connects to gerrit REST API using basic authentication.
Is the OAuth authentication able to allow access to the REST API to non-web tools and should the tool authenticate itself over GitHub or Google before it makes calls to Gerrit (something like exchanging a token provided by [GitHub|Google] between the tool and Gerrit).
(Note : this can be tagged « question »)
Thanks.
The text was updated successfully, but these errors were encountered:
Any answer on this?
From my own tests it doesn't seem to be possible, as Gerrit's REST API supports only basic auth (this can however be bypassed in the browser if the GerritAccount cookie is set).
It would be great if it was possible to pass an access token through an Authorization header to the REST API. Keycloak, for example, can be configured to fetch access tokens easily: https://github.com/wpic/sample-keycloak-getting-token. Is it something that could be covered by this plugin?
Hi,
Can OAuth be used for external tools authentication ?
Currently, we have a tool that connects to gerrit REST API using basic authentication.
Is the OAuth authentication able to allow access to the REST API to non-web tools and should the tool authenticate itself over GitHub or Google before it makes calls to Gerrit (something like exchanging a token provided by [GitHub|Google] between the tool and Gerrit).
(Note : this can be tagged « question »)
Thanks.
The text was updated successfully, but these errors were encountered: