File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,6 @@ First time you run jeykll you need to do bundle install 1st for the dependencies
23
23
24
24
cd node-red.github.io
25
25
bundle install
26
- jekyll serve -w
26
+ bundle exec jekyll serve -w
27
27
28
28
Once the site is built and running you can preview it at [ ` http://127.0.0.1:4000/ ` ] ( http://127.0.0.1:4000/ ) .
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ The `strategy` property takes the following options:
197
197
- ` label ` /` icon ` - used on the login page. ` icon ` can be any FontAwesome icon name.
198
198
- ` options ` - an options object passed to the passport strategy when it is created.
199
199
Refer to the strategy's own documentation for what it requires. See below for a
200
- node on the ` callbackURL ` .
200
+ note on the ` callbackURL ` and ` callbackMethod ` .
201
201
- ` verify ` - the verify function used by the strategy. It must call ` done ` with
202
202
a user profile as the second argument if the user is valid. This is expected
203
203
to have a ` username ` property that is used to check against the list of valid
@@ -209,6 +209,8 @@ redirect to following an auth attempt. It must be the URL of your Node-RED edito
209
209
with ` /auth/strategy/callback ` added to the path. For example, if you access the
210
210
editor at ` http://localhost:1880 ` , you would use ` http://localhost:1880/auth/strategy/callback ` .
211
211
212
+ By default, the ` callbackURL ` will listen for ` GET ` requests. To use ` POST ` requests
213
+ instead, set ` callbackMethod ` to ` POST ` .
212
214
213
215
#### Setting a default user
214
216
You can’t perform that action at this time.
0 commit comments