Skip to content

Commit

Permalink
Remove group-id references from docs (#1480)
Browse files Browse the repository at this point in the history
Remove group-id references

Signed-off-by: Radoslav Dimitrov <[email protected]>
  • Loading branch information
rdimitrov authored Nov 5, 2023
1 parent 9a80926 commit af51955
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,9 @@ Upon completion, you should see that the Minder Server is set to `api.stacklok.c
Minder supports GitHub as a provider to enroll repositories. To enroll your provider, run:

```bash
minder provider enroll --provider github --group-id <group-id>
minder provider enroll --provider github
```

Note: Provide the --group-id flag, if your user belongs to multiple groups. You can omit the group-id
flag if you want to enroll user owned repositories (default --group-id=1).

A browser session will open, and you will be prompted to login to your GitHub.
Once you have granted Minder access, you will be redirected back, and the user will be enrolled.
The minder CLI application will report the session is complete.
Expand Down
4 changes: 1 addition & 3 deletions docs/docs/getting_started/login.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ Once logged in:
2. Enroll a user with the given provider

```bash
minder provider enroll --provider github --group-id <group-id>
minder provider enroll --provider github
```

> __Note__: Provide the `--group-id` flag if your user belongs to multiple groups. For this example, we will use the default group `1`, so we do not need to provide the flag.
>
A browser session will open, and you will be prompted to login to your GitHub account. Once you have granted Minder access, you will be redirected back, and the user will be enrolled. The `minder` CLI application will report the session is complete.

0 comments on commit af51955

Please sign in to comment.