@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.
@@ -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.INTERNAL_IDP_URL || process.env.IDP_URL || '';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payez/next-mvp",
3
- "version": "4.0.17",
3
+ "version": "4.0.18",
4
4
  "sideEffects": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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.INTERNAL_IDP_URL || process.env.IDP_URL || '';
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;