nodebb-plugin-sso-facebook 3.6.5 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-plugin-sso-facebook",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "NodeBB Facebook SSO",
|
|
5
5
|
"main": "library.js",
|
|
6
6
|
"repository": {
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
"passport-facebook": "~1.0.2"
|
|
30
30
|
},
|
|
31
31
|
"nbbpm": {
|
|
32
|
-
"compatibility": "^
|
|
32
|
+
"compatibility": "^3.0.0"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<div class="row">
|
|
2
|
-
<div class="col-
|
|
3
|
-
<div class="
|
|
4
|
-
<div class="
|
|
5
|
-
<div class="
|
|
2
|
+
<div class="col-12">
|
|
3
|
+
<div class="card">
|
|
4
|
+
<div class="card-header">Facebook Social Authentication</div>
|
|
5
|
+
<div class="card-body">
|
|
6
6
|
<p>
|
|
7
7
|
Create a <strong>Facebook Application</strong> via the
|
|
8
8
|
<a href="https://developers.facebook.com/apps/">Facebook Developers Page</a> and
|
|
@@ -20,27 +20,27 @@
|
|
|
20
20
|
</ul>
|
|
21
21
|
</p>
|
|
22
22
|
<form role="form" class="sso-facebook-settings">
|
|
23
|
-
<div class="
|
|
23
|
+
<div class="mb-3">
|
|
24
24
|
<label for="app_id">Application ID</label>
|
|
25
25
|
<input type="text" id="app_id" name="app_id" title="Application ID" class="form-control" placeholder="Application ID"><br />
|
|
26
26
|
</div>
|
|
27
|
-
<div class="
|
|
27
|
+
<div class="mb-3">
|
|
28
28
|
<label for="secret">Secret</label>
|
|
29
29
|
<input type="text" id="secret" name="secret" title="Secret" class="form-control" placeholder="Secret">
|
|
30
30
|
</div>
|
|
31
|
-
<div class="
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
<div class="form-check">
|
|
32
|
+
<input type="checkbox" class="form-check-input" id="autoconfirm" name="autoconfirm" />
|
|
33
|
+
<label for="autoconfirm" class="form-check-label">
|
|
34
|
+
Skip email verification for people who register using SSO?
|
|
35
35
|
</label>
|
|
36
36
|
</div>
|
|
37
|
-
<div class="
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
<div class="form-check">
|
|
38
|
+
<input type="checkbox" class="form-check-input" id="disableRegistration" name="disableRegistration" />
|
|
39
|
+
<label for="disableRegistration" class="form-check-label">
|
|
40
|
+
Disable user registration via SSO
|
|
41
41
|
</label>
|
|
42
42
|
</div>
|
|
43
|
-
<p class="
|
|
43
|
+
<p class="form-text">
|
|
44
44
|
Restricting registration means that only registered users can associate their account with this SSO strategy.
|
|
45
45
|
This restriction is useful if you have users bypassing registration controls by using social media accounts, or
|
|
46
46
|
if you wish to use the NodeBB registration queue.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<div class="col-
|
|
2
|
-
<div class="
|
|
3
|
-
<div class="
|
|
4
|
-
<
|
|
1
|
+
<div class="col-12 col-sm-8 col-offset-sm-2 col-md-6 col-offset-md-3">
|
|
2
|
+
<div class="card">
|
|
3
|
+
<div class="card-header">
|
|
4
|
+
<span class="fs-4">[[user:sso.dissociate-confirm-title]]</span>
|
|
5
5
|
</div>
|
|
6
|
-
<div class="
|
|
6
|
+
<div class="card-body">
|
|
7
7
|
[[user:sso.dissociate-confirm, {service}]]
|
|
8
8
|
|
|
9
9
|
<hr>
|