Skip to content

Commit b31d574

Browse files
committed
Define attributeConsumingService on README and remove custom settings on django demo
1 parent 434ebf9 commit b31d574

2 files changed

Lines changed: 16 additions & 46 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,22 @@ This is the settings.json file:
223223
// HTTP-POST binding only.
224224
"binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
225225
},
226+
// If you need to specify requested attributes, set a
227+
// attributeConsumingService. nameFormat, attributeValue and
228+
// friendlyName can be ommited
229+
"attributeConsumingService": {
230+
"ServiceName": "SP test",
231+
"serviceDescription": "Test Service",
232+
"requestedAttributes": [
233+
{
234+
"name": "",
235+
"isRequired": false,
236+
"nameFormat": "",
237+
"friendlyName": "",
238+
"attributeValue": ""
239+
}
240+
]
241+
},
226242
// Specifies info about where and how the <Logout Response> message MUST be
227243
// returned to the requester, in this case our SP.
228244
"singleLogoutService": {

demo-django/saml/settings_with_req_attributes_example.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)