Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/reference-implementation/idpbuilder/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ The token can be obtained by running the following command:
$ idpbuilder get secrets -p gitea

# get token only
$ idpbuilder get secrets -p gitea -o json | jq -r '.[0].data.token
$ idpbuilder get secrets -p gitea -o json | jq -r '.[0].token'

```

Expand All @@ -164,7 +164,7 @@ Here are a some examples for using the token:
<summary>Create a Gitea Organization</summary>

```bash
$ TOKEN=$(idpbuilder get secrets -p gitea -o json | jq -r '.[0].data.token' )
$ TOKEN=$(idpbuilder get secrets -p gitea -o json | jq -r '.[0].token' )
```
```bash
$ curl -k -X POST \
Expand All @@ -180,7 +180,7 @@ $ curl -k -X POST \
<summary>Create a Gitea User</summary>

```bash
$ TOKEN=$(idpbuilder get secrets -p gitea -o json | jq -r '.[0].data.token' )
$ TOKEN=$(idpbuilder get secrets -p gitea -o json | jq -r '.[0].token' )
$ curl -k -X POST \
https://gitea.cnoe.localtest.me:8443/api/v1/admin/users \
-H 'Content-Type: application/json' \
Expand Down