@circlesystems/circleauth-wikijs

1.1.1 • Public • Published

Circle Auth for Wikijs

Circle Auth authentication provider for Wiki.js

Installation

Run the following command entering the correct $WIKIJS_PATH and $VERSION (choose a version number from tags)

cd $WIKIJS_PATH

wget https://github.com/circlesystems/circleauth-wikijs/archive/refs/tags/$VERSION.tar.gz
tar xzf $VERSION.tar.gz -C .
cp -r unicauth-wikijs-$VERSION/server .
cp -r unicauth-wikijs-$VERSION/assets .
rm -r unicauth-wikijs-$VERSION
rm $VERSION.tar.gz

cd ./server/modules/authentication/circleauth
npm install

Configuration

  1. Create an application at Circle Auth Console (you can insert any URL at Login Return URL for now).
  2. Within Wiki.js Authentication module add a new strategy and choose Unic Auth from the list.
  3. Inside the 'STRATEGY CONFIGURATION' group fill out App Key, Read Key and Write Key fields available in the Circle Auth Console Application Info.
  4. Enable the Self-registration option (unless you plan on authorizing users manually).
  5. Select the group new users should be assigned to when they login for the first time.
  6. Make sure the checkbox next to Circle Auth in the list of strategies is checked. The text should now say that the strategy is active.
  7. Click Apply on the upper right of the page to save and apply the configuration.
  8. In the 'Configuration Reference' group, copy the value from the field Callback URL / Redirect URI.
  9. Now go back to edit your application at Circle Auth Console and paste the value copied from step 8 to Login Return URL. Save the application.

Package Sidebar

Install

npm i @circlesystems/circleauth-wikijs

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

4.32 kB

Total Files

4

Last publish

Collaborators

  • unicauth