-
Notifications
You must be signed in to change notification settings - Fork 38
Discovery Service
Leif Johansson edited this page Dec 3, 2017
·
18 revisions
There are 3 ways to integrate with the discovery service in pyFF:
- Use the SAML identity provider discovery protocol.
- Use the jquery discovery widget and provide your own HTML
- Use the discovery service client and provide both your own HTML and javascript
Sample HTML:
<div id="ds"
data-href="{{ entity['entity_id'] }}"
data-mdq="https://some.mdq.server/"
data-store="https://some.pyff.server/"
data-search="https://some.mdq.server/"
data-list="an optional URL returning a list"
data-related="a hint domain"
data-inputfieldselector="#searchinput">
<div class="form-group">
<div class="input-group">
<input id="searchinput" class="form-control" type="search"/>
</div>
</div>
</div>
and then use this javascript
$(document).ready(function() {
$("#ds").discovery_client();
});