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)
- 
    0
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.