-
Notifications
You must be signed in to change notification settings - Fork 1
/
okta_expire_user_password.html
59 lines (56 loc) · 2.06 KB
/
okta_expire_user_password.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
<script type="text/javascript">
RED.nodes.registerType('okta_expire_user_password',{
category: 'authomize_okta',
color: '#a6bbcf',
defaults: {
name: {value:"Okta - Expire user password"},
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_expire_user_password">
<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-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_expire_user_password">
<p>Expires user password</p>
</script>