-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathokta_users_to_id.html
43 lines (41 loc) · 1.51 KB
/
okta_users_to_id.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
<script type="text/javascript">
RED.nodes.registerType('okta_users_to_id',{
category: 'authomize_okta',
color: '#a6bbcf',
defaults: {
name: {value:"Okta - users to id"},
auth: { type: 'okta_config', required: true },
emails: { value: '', required: true },
emailsType: {value: ''}
},
inputs:1,
outputs:1,
oneditprepare: function () {
$("#node-input-emails").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-emailsType"
});
}
});
</script>
<script type="text/html" data-template-name="okta_users_to_id">
<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-emails">
<i class="fa fa-group"></i> Emails
</label>
<input type="text" id="node-input-emails" placeholder="Enter emails">
<input type="hidden" id="node-input-emailsType" />
</div>
</script>
<script type="text/html" data-help-name="okta_users_to_id">
<p>Receives a list of users emails and returns a dictionary of user and email</p>
</script>