Skip to content

Commit 4bcb09d

Browse files
committed
Add note about callbackMethod
1 parent 6f5e144 commit 4bcb09d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ First time you run jeykll you need to do bundle install 1st for the dependencies
2323

2424
cd node-red.github.io
2525
bundle install
26-
jekyll serve -w
26+
bundle exec jekyll serve -w
2727

2828
Once the site is built and running you can preview it at [`http://127.0.0.1:4000/`](http://127.0.0.1:4000/).

docs/user-guide/runtime/securing-node-red.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ The `strategy` property takes the following options:
197197
- `label`/`icon` - used on the login page. `icon` can be any FontAwesome icon name.
198198
- `options` - an options object passed to the passport strategy when it is created.
199199
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`.
201201
- `verify` - the verify function used by the strategy. It must call `done` with
202202
a user profile as the second argument if the user is valid. This is expected
203203
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
209209
with `/auth/strategy/callback` added to the path. For example, if you access the
210210
editor at `http://localhost:1880`, you would use `http://localhost:1880/auth/strategy/callback`.
211211

212+
By default, the `callbackURL` will listen for `GET` requests. To use `POST` requests
213+
instead, set `callbackMethod` to `POST`.
212214

213215
#### Setting a default user
214216

0 commit comments

Comments
 (0)