-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathokta_list_group.html
More file actions
48 lines (46 loc) · 1.62 KB
/
okta_list_group.html
File metadata and controls
48 lines (46 loc) · 1.62 KB
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
46
47
48
<script type="text/javascript">
RED.nodes.registerType('okta_list_group',{
category: 'authomize_okta',
color: '#a6bbcf',
defaults: {
name: {value:"Okta - List group"},
auth: { type: 'okta_config', required: true },
groupID: { value: '', required: true },
groupIDType: {value: ''},
},
inputs:3,
outputs:1,
icon: "file.png",
label: function() {
return this.name||"Okta - List group";
},
oneditprepare: function () {
$("#node-input-groupID").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-groupIDType"
});
}
});
</script>
<script type="text/html" data-template-name="okta_list_group">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</div>
<div class="form-row">
<label for="node-input-auth"><i class="fa fa-cogs"></i> Okta Credentials</label>
<input type="text" id="node-input-auth" placeholder="auth">
</div>
<div class="form-row">
<label for="node-input-groupID">
<i class="fa fa-group"></i> group ID
</label>
<input type="text" id="node-input-userName" placeholder="Enter group ID">
<input type="hidden" id="node-input-groupIDType" />
</div>
</script>
<script type="text/html" data-help-name="okta_list_group">
<p>Returns a list of users in an Okta group, by group ID</p>
</script>