ep_oauth 11.0.12 → 11.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ name: Dependabot Automerge
2
+ permissions:
3
+ contents: write
4
+ pull-requests: write
5
+ on:
6
+ workflow_run:
7
+ workflows:
8
+ - Node.js Package
9
+ types:
10
+ - completed
11
+
12
+ jobs:
13
+ automerge:
14
+ if: >
15
+ github.event.workflow_run.conclusion == 'success' &&
16
+ github.event.workflow_run.event == 'pull_request' &&
17
+ github.event.workflow_run.actor.login == 'dependabot[bot]'
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v6
22
+
23
+ - name: Automerge
24
+ uses: "pascalgn/automerge-action@v0.16.4"
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
+ MERGE_METHOD: squash
28
+ MERGE_LABELS: ""
29
+ MERGE_RETRY_SLEEP: "100000"
30
+
package/README.md CHANGED
@@ -1,14 +1,25 @@
1
- ![Publish Status](https://github.com/ether/ep_oauth/workflows/Node.js%20Package/badge.svg) [![Backend Tests Status](https://github.com/ether/ep_oauth/actions/workflows/test-and-release.yml/badge.svg)](https://github.com/ether/ep_oauth/actions/workflows/test-and-release.yml)
1
+ # ep_oauth
2
+
3
+ OAuth2 authentication for Etherpad via GitHub.
4
+
5
+ ## Install
2
6
 
3
- Example config to be placed in settings.json
4
7
  ```
5
- "ep_oauth":{
6
- "clientID": "9829038409234fuckingnumbersandl1e1tt1er1s111yo",
7
- "clientSecret": "herpderp22",
8
- "callbackURL": "http://etherpoop.com:9001/auth/callback"
9
- }
8
+ pnpm run plugins i ep_oauth
10
9
  ```
11
10
 
12
- Note that we currently only support Github, we need better logic for events to fire after succesful Auth IE what user data to grab
11
+ ## Settings
12
+
13
+ Add to your `settings.json`:
14
+
15
+ ```json
16
+ "ep_oauth": {
17
+ "clientID": "your_github_client_id",
18
+ "clientSecret": "your_github_client_secret",
19
+ "callbackURL": "https://your-etherpad.example.com/auth/callback"
20
+ }
21
+ ```
13
22
 
23
+ ## License
14
24
 
25
+ Apache-2.0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ep_oauth",
3
3
  "description": "Oauth2 authentication for Etherpad",
4
- "version": "11.0.12",
4
+ "version": "11.0.14",
5
5
  "author": {
6
6
  "name": "John McLear",
7
7
  "email": "john@mclear.co.uk",