@sylphx/sdk 0.7.0 → 0.8.0-rc.1

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.
@@ -3233,8 +3233,8 @@ async function fetchOAuthProviders(options) {
3233
3233
  const baseURL = (options.platformUrl ?? `https://${DEFAULT_SDK_API_HOST}`).trim();
3234
3234
  const appId = validateAndSanitizeAppId(options.appId);
3235
3235
  return cachedFetch({
3236
- url: `${baseURL}/api/auth/providers`,
3237
- headers: { "X-App-Id": appId },
3236
+ url: `${baseURL}${SDK_API_PATH}/auth/oauth-providers`,
3237
+ headers: { "x-app-secret": appId },
3238
3238
  fallback: { providers: [] },
3239
3239
  label: "OAuth providers"
3240
3240
  });