-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathokta_config.html
45 lines (39 loc) · 1.34 KB
/
okta_config.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<script type="text/javascript">
RED.nodes.registerType('okta_config', {
category: 'config',
defaults: {
name: { value: '' },
},
credentials: {
apiKey: { type: 'text', required: true },
domain: { type: 'text', required: true }
},
label: function () {
return this.name || 'Okta Config';
},
});
</script>
<script type="text/html" data-template-name="okta_config">
<div class="form-row">
<label for="node-config-input-name">
<i class="fa fa-tag"></i> Name
</label>
<input type="text" id="node-config-input-name" placeholder="Configuration node name" />
</div>
<div class="form-row">
<label for="node-config-input-apiKey">
<i class="fa fa-key"></i> API key
</label>
<input type="text" id="node-config-input-apiKey" placeholder="Enter your API key" />
</div>
<div class="form-row">
<label for="node-config-input-domain">
<i class="fa fa-key"></i> Domain
</label>
<input type="text" id="node-config-input-domain" placeholder="Enter your Domain" />
</div>
</script>
<script type="text/x-red" data-help-name="okta_config">
<p>A configuration node for Okta integration.</p>
<p>Enter required data for integration: API key and Domain</p>
</script>