Merge pull request #33 from Bortseb/master

Example of admin parameter in config.json for generic OAuth
This commit is contained in:
Paul Rodwell 2023-04-19 11:19:51 +01:00 committed by GitHub
commit f7da864fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.