Example of admin parameter
Expands on config example to show how to specify admin ID
This commit is contained in:
parent
89adbb5dc0
commit
f914667efe
|
@ -35,6 +35,7 @@ Sometimes, you'll be able to look up the URLs by visiting your provider's
|
||||||
```JSON
|
```JSON
|
||||||
{
|
{
|
||||||
"farm": true,
|
"farm": true,
|
||||||
|
"admin": {"oauth2": "ID VALUE FROM OWNER.JSON FILE OF ADMIN"},
|
||||||
"security_type": "passportjs",
|
"security_type": "passportjs",
|
||||||
"oauth2_clientID": "CLIENT ID",
|
"oauth2_clientID": "CLIENT ID",
|
||||||
"oauth2_clientSecret": "CLIENT SECRET",
|
"oauth2_clientSecret": "CLIENT SECRET",
|
||||||
|
@ -48,6 +49,7 @@ Sometimes, you'll be able to look up the URLs by visiting your provider's
|
||||||
```JSON
|
```JSON
|
||||||
{
|
{
|
||||||
"farm": true,
|
"farm": true,
|
||||||
|
"admin": {"oauth2": "ID VALUE FROM OWNER.JSON FILE OF ADMIN"},
|
||||||
"security_type": "passportjs",
|
"security_type": "passportjs",
|
||||||
"oauth2_clientID": "CLIENT ID",
|
"oauth2_clientID": "CLIENT ID",
|
||||||
"oauth2_clientSecret": "CLIENT SECRET",
|
"oauth2_clientSecret": "CLIENT SECRET",
|
||||||
|
|
|
@ -9,7 +9,7 @@ Configuration of Passport security plug-ins is a two stage process:
|
||||||
|
|
||||||
The legacy Mozilla Persona Passport plug-in does not require any configuration.
|
The legacy Mozilla Persona Passport plug-in does not require any configuration.
|
||||||
|
|
||||||
This plug-in comes with support for using GitHub, Google, and Twitter. Although the configuration process is broadly the same for each of these, there are some slight differences.
|
This plug-in comes with support for using GitHub, Google, Twitter, and generic OAuth. Although the configuration process is broadly the same for each of these, there are some slight differences.
|
||||||
|
|
||||||
As a wiki server owner you need to pick one, or more, of these that you want to use.
|
As a wiki server owner you need to pick one, or more, of these that you want to use.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue