updated readme

This commit is contained in:
Livio Spring 2024-10-29 08:34:43 +01:00
parent e9d7bae936
commit 32a6feef08
No known key found for this signature in database
GPG key ID: 26BB1C2FA5952CF0

View file

@ -75,29 +75,29 @@ CLIENT_ID=web CLIENT_SECRET=secret ISSUER=http://oidc.local:9998/ SCOPES="openid
Example server allows extra configuration using environment variables and could be used for end to Example server allows extra configuration using environment variables and could be used for end to
end testing of your services. end testing of your services.
| Name | Format | Description | | Name | Format | Description |
|---------------|--------------------------------------|---------------------------------------| |---------------|--------------------------------------|---------------------------------------|
| PORT | Number between 1 and 65535 | OIDC listen port | | PORT | Number between 1 and 65535 | OIDC listen port |
| REDIRECT_URI | Comma-separated URIs | List of allowed redirect URIs | | REDIRECT_URI | Comma-separated URIs | List of allowed redirect URIs |
| USERS_FILE | Path to json in local filesystem | Users with their data and credentials | | USERS_FILE | Path to json in local filesystem | Users with their data and credentials |
Here is json equivalent for one of the default users Here is json equivalent for one of the default users
```json ```json
{ {
"id2": { "id2": {
"ID": "id2", "ID": "id2",
"Username": "test-user2", "Username": "test-user2",
"Password": "verysecure", "Password": "verysecure",
"FirstName": "Test", "FirstName": "Test",
"LastName": "User2", "LastName": "User2",
"Email": "test-user2@zitadel.ch", "Email": "test-user2@zitadel.ch",
"EmailVerified": true, "EmailVerified": true,
"Phone": "", "Phone": "",
"PhoneVerified": false, "PhoneVerified": false,
"PreferredLanguage": "DE", "PreferredLanguage": "DE",
"IsAdmin": false "IsAdmin": false
} }
} }
``` ```
## Features ## Features