@checkstack/auth-github-backend 0.0.20 → 0.0.21

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @checkstack/auth-github-backend
2
2
 
3
+ ## 0.0.21
4
+
5
+ ### Patch Changes
6
+
7
+ - c0c0ed2: Introduce generic "Login Flows" to allow authentication strategies to define their own interaction patterns (form, redirect, or oauth) during registration. This fixes an issue where LDAP login attempts were incorrectly routed through the standard social login flow by instead providing a dedicated credential collection form for LDAP.
8
+ - Updated dependencies [c0c0ed2]
9
+ - Updated dependencies [c0c0ed2]
10
+ - @checkstack/backend-api@0.9.0
11
+ - @checkstack/auth-backend@0.4.12
12
+
3
13
  ## 0.0.20
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/auth-github-backend",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "checkstack": {
@@ -13,13 +13,13 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "dependencies": {
16
- "@checkstack/backend-api": "0.8.1",
17
- "@checkstack/auth-backend": "0.4.10",
18
- "@checkstack/common": "0.6.3",
16
+ "@checkstack/backend-api": "0.8.2",
17
+ "@checkstack/auth-backend": "0.4.11",
18
+ "@checkstack/common": "0.6.4",
19
19
  "zod": "^4.2.1"
20
20
  },
21
21
  "devDependencies": {
22
- "@checkstack/tsconfig": "0.0.3",
22
+ "@checkstack/tsconfig": "0.0.4",
23
23
  "typescript": "^5.9.3"
24
24
  }
25
25
  }
package/src/index.ts CHANGED
@@ -38,6 +38,7 @@ const githubStrategy: AuthStrategy<z.infer<typeof githubConfigV2>> = {
38
38
  configVersion: 2,
39
39
  configSchema: githubConfigV2,
40
40
  requiresManualRegistration: false,
41
+ clientFlow: { type: "oauth" },
41
42
  adminInstructions: `
42
43
  ## GitHub OAuth App Setup
43
44