Skip to content

Commit 5e21991

Browse files
Merge pull request #338 from melanger/patch-2
Add sub_hash_salt to README and example configuration
2 parents 8b641ce + 6214b41 commit 5e21991

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ The configuration parameters available:
433433
* `signing_key_path`: path to a RSA Private Key file (PKCS#1). MUST be configured.
434434
* `db_uri`: connection URI to MongoDB instance where the data will be persisted, if it's not specified all data will only
435435
be stored in-memory (not suitable for production use).
436+
* `sub_hash_salt`: salt which is hashed into the `sub` claim. If it's not specified, SATOSA will generate a random salt on each startup, which means that users will get new `sub` value after every restart.
436437
* `provider`: provider configuration information. MUST be configured, the following configuration are supported:
437438
* `response_types_supported` (default: `[id_token]`): list of all supported response types, see [Section 3 of OIDC Core](http://openid.net/specs/openid-connect-core-1_0.html#Authentication).
438439
* `subject_types_supported` (default: `[pairwise]`): list of all supported subject identifier types, see [Section 8 of OIDC Core](http://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes)

example/plugins/frontends/openid_connect_frontend.yaml.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ config:
44
signing_key_path: frontend.key
55
db_uri: mongodb://db.example.com # optional: only support MongoDB, will default to in-memory storage if not specified
66
client_db_path: /path/to/your/cdb.json
7+
sub_hash_salt: randomSALTvalue # if not specified, it is randomly generated on every startup
78
provider:
89
client_registration_supported: Yes
910
response_types_supported: ["code", "id_token token"]

0 commit comments

Comments
 (0)