updated readme
This commit is contained in:
parent
eec584b712
commit
e9d7bae936
1 changed files with 31 additions and 1 deletions
30
README.md
30
README.md
|
@ -70,6 +70,36 @@ CLIENT_ID=web CLIENT_SECRET=secret ISSUER=http://oidc.local:9998/ SCOPES="openid
|
||||||
|
|
||||||
> Note: Usernames are suffixed with the hostname (`test-user@localhost` or `test-user@oidc.local`)
|
> Note: Usernames are suffixed with the hostname (`test-user@localhost` or `test-user@oidc.local`)
|
||||||
|
|
||||||
|
### Server configuration
|
||||||
|
|
||||||
|
Example server allows extra configuration using environment variables and could be used for end to
|
||||||
|
end testing of your services.
|
||||||
|
|
||||||
|
| Name | Format | Description |
|
||||||
|
|---------------|--------------------------------------|---------------------------------------|
|
||||||
|
| PORT | Number between 1 and 65535 | OIDC listen port |
|
||||||
|
| REDIRECT_URI | Comma-separated URIs | List of allowed redirect URIs |
|
||||||
|
| USERS_FILE | Path to json in local filesystem | Users with their data and credentials |
|
||||||
|
|
||||||
|
Here is json equivalent for one of the default users
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"id2": {
|
||||||
|
"ID": "id2",
|
||||||
|
"Username": "test-user2",
|
||||||
|
"Password": "verysecure",
|
||||||
|
"FirstName": "Test",
|
||||||
|
"LastName": "User2",
|
||||||
|
"Email": "test-user2@zitadel.ch",
|
||||||
|
"EmailVerified": true,
|
||||||
|
"Phone": "",
|
||||||
|
"PhoneVerified": false,
|
||||||
|
"PreferredLanguage": "DE",
|
||||||
|
"IsAdmin": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
| | Relying party | OpenID Provider | Specification |
|
| | Relying party | OpenID Provider | Specification |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue