@absolutejs/auth 0.84.0 → 0.86.0

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/docs/neon.md CHANGED
@@ -16,7 +16,7 @@ const neon = createNeonProviderConfiguration({
16
16
  scopes: ['urn:neoncloud:orgs:read', 'urn:neoncloud:projects:read'],
17
17
  offlineAccess: true
18
18
  });
19
- // Pass customProviders: { neon } to your existing Auth configuration.
19
+ // Pass providersConfiguration: { neon } to your existing Auth configuration.
20
20
  ```
21
21
 
22
22
  Keep credentials on the server. Register the exact callback used by your Auth
@@ -26,12 +26,12 @@ mount. The preset enables S256 PKCE, identifies accounts by `sub`, and requests
26
26
  when the customer needs those operations. Delete and organization administration
27
27
  are never implicit. Do not infer an email or organization from the subject.
28
28
 
29
- The existing custom-provider authorization, callback, profile, refresh and revoke
29
+ The existing built-in provider authorization, callback, profile, refresh and revoke
30
30
  routes handle this definition. An account connection is separate from signing the
31
31
  customer into your application; enforce your application's account-linking policy.
32
- The generic `createOAuthLinkedProviderCredentialResolver` currently accepts only
33
- built-in providers. Applications using that resolver need a custom-provider-aware
34
- resolver before enabling unattended Neon management. This preset alone does not
32
+ The generic `createOAuthLinkedProviderCredentialResolver` recognizes Neon through
33
+ Citra's built-in provider registry, including background token renewal.
34
+ This preset alone does not
35
35
  provide a resource picker, database provisioning, secret delivery or browser
36
36
  assistance. Do not enable the customer-facing connection until those pieces and
37
37
  partner credentials are in place.
@@ -40,3 +40,10 @@ Use a provider-owned sign-in window where required. Do not proxy sign-in into an
40
40
  embedded browser that violates the identity provider's policies. Never put client
41
41
  secrets, refresh tokens or database connection strings into chat or referral URLs.
42
42
  Referral agreements and reporting are separate from OAuth permission grants.
43
+
44
+ ## Migration from 0.84.0
45
+
46
+ Move the helper result from `customProviders.neon` to
47
+ `providersConfiguration.neon`. Neon is now a built-in Citra provider; retaining a
48
+ custom provider under that name is rejected to prevent provider collisions.
49
+ The helper retains the same credentials, scopes and offline-access options.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.84.0",
2
+ "version": "0.86.0",
3
3
  "name": "@absolutejs/auth",
4
4
  "description": "An authorization library for absolutejs",
5
5
  "repository": {
@@ -75,7 +75,7 @@
75
75
  "@neondatabase/serverless": "1.0.0",
76
76
  "@opentelemetry/api": "1.9.1",
77
77
  "@simplewebauthn/browser": "13.3.0",
78
- "citra": "0.29.13",
78
+ "citra": "0.30.0",
79
79
  "typebox": "^1.3.16"
80
80
  },
81
81
  "devDependencies": {