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/..."
  • 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)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello ,

    Please check out this similar issue https://github.com/abpframework/abp/issues/16302#issuecomment-1531456877 https://support.abp.io/QA/Questions/2103/React-Native-External-Login-Approach If it finds helpful for you.

    Thank you.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10