Open Closed

I am trying to integrate my login Api , I am facing a issue of 404 how to integrate our own Api's . i Need exact configuration steps in react native (The Api, i am using `https://qa.*******.in:44322/api/account/login`) #6864


User avatar
0
suryab created
  • ABP Framework version:8.0.4

  • UI Type: React Native

  • Database System: EF Core ( MySQL )

  • Tiered (for MVC) or Auth Server Separated (for Angular): no

  • Exception message and full stack trace:"unexpected end of stream on http://qa.doctrz.in:44322/..."Screenshot 2024-03-13 133427.pngScreenshot 2024-03-13 133452.png

  • Steps to reproduce the issue:

* const yourIP = '****/*******/****'; // See the docs https://docs.abp.io/en/abp/latest/Getting-Started-React-Native?Tiered=No
 const port = 44305;
const authServerUrl = `http://qa.******.in:44322`;
const gatewayUrl = "http://qa.*****.in:44325"; // your web gateway Url
const ENV = {
  dev: {
    apiUrl: gatewayUrl,
    authUrl: authServerUrl,
    appUrl: `exp://${yourIP}:19000`,
    oAuthConfig: {
      issuer: authServerUrl,
      clientId: 'Angular',
      clientSecret: '1q2w3e*',
      scope: 'offline_access openid profile email phone AccountService IdentityService AdministrationService SaasService ProductService ClinicService AppointmentService FormsService',
    },
    localization: {
      defaultResourceName: 'mobile_app',
    },
  },
  prod: {
    appUrl: `exp://${yourIP}:19000`,
    oAuthConfig: {
      issuer: 'http://localhost:44350',
      clientId: 'mobile_app_Mobile',
      scope: 'offline_access mobile_app',
    },
    localization: {
      defaultResourceName: 'mobile_app',
    },
  },
};

export const getEnvVars = () => {
  // eslint-disable-next-line no-undef
  return __DEV__ ? ENV.dev : ENV.prod;
};


1 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 15, 2025, 10:28