README.md,HACKING.md: update for SSO/OAuth2
Add documentation how to properly configure and use OAuth2.
This commit is contained in:
parent
c1a887a9a9
commit
c56bcba78c
2 changed files with 28 additions and 0 deletions
13
HACKING.md
13
HACKING.md
|
|
@ -62,6 +62,19 @@ build via the koji XML RPC.
|
|||
sudo test/copy-creds.sh
|
||||
```
|
||||
|
||||
### Run the mock OpenID server
|
||||
|
||||
The koji builder plugin needs to be authorized in order to be able
|
||||
to start a compose via Composer. The default authentication scheme
|
||||
is `OAuth2`. For testing purposes we can use the mock OpenID server
|
||||
that is included in the `osbuild-composer-tests` package. A helper
|
||||
script is included to start and stop the server with the correct
|
||||
parameters.
|
||||
|
||||
```sh
|
||||
sudo test/run-openid.sh start
|
||||
```
|
||||
|
||||
### Run the koji builder
|
||||
|
||||
Run the koji builder instance can be started. Here `fg` means that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue