@payez/next-mvp 4.0.17 → 4.0.18
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/auth/better-auth.js
CHANGED
|
@@ -123,7 +123,7 @@ function createBetterAuthInstance(idpConfig) {
|
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
125
|
// Call IDP oauth-callback to get IDP tokens
|
|
126
|
-
const idpUrl = process.env.
|
|
126
|
+
const idpUrl = process.env.IDP_URL || '';
|
|
127
127
|
if (!idpUrl) {
|
|
128
128
|
console.warn('[BETTER_AUTH] No IDP URL configured, skipping token exchange');
|
|
129
129
|
return;
|
package/package.json
CHANGED
package/src/auth/better-auth.ts
CHANGED
|
@@ -134,7 +134,7 @@ export function createBetterAuthInstance(idpConfig: IDPClientConfig) {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
// Call IDP oauth-callback to get IDP tokens
|
|
137
|
-
const idpUrl = process.env.
|
|
137
|
+
const idpUrl = process.env.IDP_URL || '';
|
|
138
138
|
if (!idpUrl) {
|
|
139
139
|
console.warn('[BETTER_AUTH] No IDP URL configured, skipping token exchange');
|
|
140
140
|
return;
|