Example of admin parameter

Expands on config example to show how to specify admin ID
This commit is contained in:
Robert Best 2022-06-10 10:58:52 -04:00
parent 89adbb5dc0
commit f914667efe
2 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,7 @@ Sometimes, you'll be able to look up the URLs by visiting your provider's
```JSON
{
"farm": true,
"admin": {"oauth2": "ID VALUE FROM OWNER.JSON FILE OF ADMIN"},
"security_type": "passportjs",
"oauth2_clientID": "CLIENT ID",
"oauth2_clientSecret": "CLIENT SECRET",
@ -48,6 +49,7 @@ Sometimes, you'll be able to look up the URLs by visiting your provider's
```JSON
{
"farm": true,
"admin": {"oauth2": "ID VALUE FROM OWNER.JSON FILE OF ADMIN"},
"security_type": "passportjs",
"oauth2_clientID": "CLIENT ID",
"oauth2_clientSecret": "CLIENT SECRET",

View File

@ -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.
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.