@better-auth/oauth-provider 1.7.0-rc.3 → 1.7.0-rc.4
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/dist/client-resource.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as getJwtPlugin, s as getOAuthProviderPlugin } from "./utils-GbnW6qPl.mjs";
|
|
2
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
2
|
+
import { t as PACKAGE_VERSION } from "./version-Do0kTnv7.mjs";
|
|
3
3
|
import { t as createResourceServerChallenge } from "./resource-challenge-CiJTlsEh.mjs";
|
|
4
4
|
import { APIError } from "better-call";
|
|
5
5
|
import { logger } from "@better-auth/core/env";
|
package/dist/client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as buildSignedOAuthQuery } from "./signed-query-BQAwsV_w.mjs";
|
|
2
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
2
|
+
import { t as PACKAGE_VERSION } from "./version-Do0kTnv7.mjs";
|
|
3
3
|
import { safeJSONParse } from "@better-auth/core/utils/json";
|
|
4
4
|
//#region src/client.ts
|
|
5
5
|
const oauthProviderClient = () => {
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { a as __exportAll, n as consumeClientAssertion } from "./client-assertio
|
|
|
2
2
|
import { A as collectExtensionIdTokenClaims, C as toAudienceClaim, D as verifyOAuthQueryParams, E as validateClientScopes, F as getSupportedAuthMethods, I as getSupportedGrantTypes, L as hasUserInfoClaimExtension, M as extendOAuthProvider, N as getClientDiscoveries, O as applyOAuthProviderMetadataExtensions, P as getExtensionGrantHandler, S as storeToken, T as validateClientCredentials, _ as removePromptFromQuery, a as getClient, b as searchParamsToQuery, c as getStoredToken, d as mergeDiscoveryMetadata, f as normalizeTimestampValue, g as removeMaxAgeFromQuery, h as parsePrompt, i as extractClientCredentials, j as collectExtensionUserInfoClaims, k as collectExtensionAccessTokenClaims, l as isPKCERequired, m as parseClientMetadata, n as decryptStoredClientSecret, o as getJwtPlugin, r as destructureCredentials, s as getOAuthProviderPlugin, t as clientAllowsGrant, u as isSessionFreshForSignedQuery, v as resolveSessionAuthTime, w as toResourceList, x as storeClientSecret, y as resolveSubjectIdentifier, z as validateOAuthProviderExtensions } from "./utils-GbnW6qPl.mjs";
|
|
3
3
|
import { a as setSignedOAuthQueryParameterNames, i as postLoginClearedParam, n as canonicalizeOAuthQueryParams, o as signedQueryIssuedAtParam, r as getSignedQueryIssuedAt } from "./signed-query-BQAwsV_w.mjs";
|
|
4
4
|
import { _ as isAudienceClaimAllowed, a as registerEndpoint, b as resolveResourcePolicy, d as validateClientCredentialsScopes, f as JWS_ALGORITHMS, g as invalidateResourceCache, h as getResourceCustomClaims, l as isUserDelegatedScope, m as extractRepeatedResourceFromForm, n as createOAuthClientEndpoint, o as schemaToOAuth, p as assertIdentifierValid, r as oauthToSchema, s as assertClientPrivileges, t as checkOAuthClient, u as normalizeClientCredentialsScopes, v as isClientLinkedToAnyResource, x as seedResources, y as logEnforcePerClientResourcesResolution } from "./register-BotzQoS8.mjs";
|
|
5
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
5
|
+
import { t as PACKAGE_VERSION } from "./version-Do0kTnv7.mjs";
|
|
6
6
|
import { t as createResourceServerChallenge } from "./resource-challenge-CiJTlsEh.mjs";
|
|
7
7
|
import { isBrowserFetchRequest } from "@better-auth/core/utils/fetch-metadata";
|
|
8
8
|
import { isLoopbackHost, isLoopbackIP } from "@better-auth/core/utils/host";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/oauth-provider",
|
|
3
|
-
"version": "1.7.0-rc.
|
|
3
|
+
"version": "1.7.0-rc.4",
|
|
4
4
|
"description": "An oauth provider plugin for Better Auth",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,16 +71,16 @@
|
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"listhen": "^1.9.0",
|
|
73
73
|
"tsdown": "0.22.7",
|
|
74
|
-
"@better-auth/core": "1.7.0-rc.
|
|
75
|
-
"@better-auth/memory-adapter": "1.7.0-rc.
|
|
76
|
-
"better-auth": "1.7.0-rc.
|
|
74
|
+
"@better-auth/core": "1.7.0-rc.4",
|
|
75
|
+
"@better-auth/memory-adapter": "1.7.0-rc.4",
|
|
76
|
+
"better-auth": "1.7.0-rc.4"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"@better-auth/utils": "0.4.2",
|
|
80
80
|
"@better-fetch/fetch": "1.3.1",
|
|
81
81
|
"better-call": "1.3.7",
|
|
82
|
-
"@better-auth/core": "^1.7.0-rc.
|
|
83
|
-
"better-auth": "^1.7.0-rc.
|
|
82
|
+
"@better-auth/core": "^1.7.0-rc.4",
|
|
83
|
+
"better-auth": "^1.7.0-rc.4"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"build": "tsdown",
|