Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit b6848ec

Browse files
authored
Merge pull request #143 from melanger/add_claims_by_scope
fix Add claims by scope configuration option name
2 parents 8629ccf + 24695a4 commit b6848ec

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/source/contents/conf.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ An example::
571571
"phone_number",
572572
"phone_number_verified"
573573
],
574-
"add_claim_by_scope": true,
574+
"add_claims_by_scope": true,
575575
"aud": ["https://example.org/appl"]
576576
}
577577
},

example/flask_op/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@
311311
"phone_number",
312312
"phone_number_verified"
313313
],
314-
"add_claim_by_scope": true,
314+
"add_claims_by_scope": true,
315315
"aud": [
316316
"https://example.org/appl"
317317
]

example/flask_op/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ op:
8888
- email_verified
8989
- phone_number
9090
- phone_number_verified
91-
add_claim_by_scope: True
91+
add_claims_by_scope: True
9292
aud:
9393
- https://example.org/appl
9494
refresh:

tests/op_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
"phone_number",
326326
"phone_number_verified"
327327
],
328-
"add_claim_by_scope": true,
328+
"add_claims_by_scope": true,
329329
"aud": [
330330
"https://example.org/appl"
331331
]

tests/op_config_defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"kwargs": {
134134
"lifetime": 3600,
135135
"add_claims": ["email", "email_verified", "phone_number", "phone_number_verified",],
136-
"add_claim_by_scope": True,
136+
"add_claims_by_scope": True,
137137
"aud": ["https://example.org/appl"],
138138
},
139139
},

tests/srv_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ op:
9696
- email_verified
9797
- phone_number
9898
- phone_number_verified
99-
add_claim_by_scope: True
99+
add_claims_by_scope: True
100100
aud:
101101
- https://example.org/appl
102102
refresh:

tests/test_06_session_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def create_session_manager(self):
5656
"kwargs": {
5757
"lifetime": 3600,
5858
"add_claims": True,
59-
"add_claim_by_scope": True,
59+
"add_claims_by_scope": True,
6060
"aud": ["https://example.org/appl"],
6161
},
6262
},

tests/test_08_session_life.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def setup_session_manager(self):
269269
"phone_number",
270270
"phone_number_verified",
271271
],
272-
"add_claim_by_scope": True,
272+
"add_claims_by_scope": True,
273273
"aud": ["https://example.org/appl"],
274274
},
275275
},

tests/test_40_oauth2_pushed_authorization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def create_endpoint(self):
9595
"phone_number",
9696
"phone_number_verified",
9797
],
98-
"add_claim_by_scope": True,
98+
"add_claims_by_scope": True,
9999
"aud": ["https://example.org/appl"],
100100
},
101101
},

0 commit comments

Comments
 (0)