File tree 2 files changed +23
-3
lines changed
2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,29 @@ FIXME).
19
19
Authentication
20
20
--------------
21
21
22
- FIXME
22
+ **Cogite ** uses the HTTP API of the Git host to create pull requests
23
+ and, more generally, retrieve information from the host. For this to
24
+ work, it needs to authenticate itself. You need only do so once for
25
+ each host.
26
+
27
+ There are two ways to authenticate:
28
+
29
+ - Use the default, guided, semi-automatic mechanism (known as "OAuth
30
+ device flow" or "OAuth Device Authorization Grant") that defines a
31
+ new, properly configured authentication token that you can revoke at
32
+ any time. Basically, **Cogite ** will display a one-time verification
33
+ code and open a browser window for you, where you can enter this
34
+ code to validate your token on the requested Git host.
35
+
36
+ FIXME: include screencast
37
+
38
+ - If you already have a properly configured authentication token, or
39
+ if you don't trust **Cogite ** mechanism above, you can use your own
40
+ authentication token. It MUST grant the "repo" scope. It is probably
41
+ a good idea to define a specific token for **Cogite ** instead of
42
+ re-using the same token for many applications. That way, you can
43
+ revoke the token of a single application without affecting other
44
+ applications.
23
45
24
46
25
47
.. _features_merge :
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ Minimal configuration
30
30
31
31
2. Run ``cogite auth add `` and follow instructions.
32
32
33
- FIXME: explain the two current options : manual token or automatic configuration.
34
-
35
33
For further details about authentication-related commands, see
36
34
:ref: `features_authentication ` and :ref: `commands_auth `.
37
35
You can’t perform that action at this time.
0 commit comments