-
Notifications
You must be signed in to change notification settings - Fork 1
/
okta_suspend_user.html
68 lines (56 loc) · 2.03 KB
/
okta_suspend_user.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<script type="text/javascript">
RED.nodes.registerType('okta_suspend_user',{
category: 'authomize_okta',
color: '#a6bbcf',
defaults: {
name: {value: "Okta - Suspend user"},
auth: { type: 'okta_config', required: true },
userID: { value: '', required: true },
userIDType: {value: ''},
userName: { value: '', required: true },
userNameType: {value: ''},
},
inputs:1,
outputs:1,
oneditprepare: function () {
$("#node-input-userID").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-userIDType"
});
$("#node-input-userName").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-userNameType"
});
}
});
</script>
<script type="text/html" data-template-name="okta_suspend_user">
<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 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-userName">
<i class="fa fa-group"></i> Username
</label>
<input type="text" id="node-input-userName" placeholder="Enter username">
<input type="hidden" id="node-input-userNameType" />
</div>
<div class="form-row">
<label for="node-input-userID">
<i class="fa fa-group"></i> User ID
</label>
<input type="text" id="node-input-userID" placeholder="Enter User ID">
<input type="hidden" id="node-input-userIDType" />
</div>
</script>
<script type="text/html" data-help-name="okta_suspend_user">
<p>suspends a user by id</p>
</script>
userName