Hi im trying to configure yarp to configure intercomuunication of microservices hosted in single vm.
yarp example :
below is network bridge name
"Administration": {
"Destinations": {
"Administration": {
"Address": "http://network-bridge:44367/",
}
}
}
or below docker ip:
"Administration": {
"Destinations": {
"Administration": {
"Address": "http://172.17.0.1:44367/",
}
}
}
or
below with container name :
"Administration": {
"Destinations": {
"Administration": {
"Address": "http://administrationsvc:44367/",
}
}
}
ocelot.json used to work fine with containeranme as host path. nothing seems to be working. please suggest.
we have intial solution of abp .version 7.3 and we were able to migrate to version 8.0 successfully with the help of abp support. Now we are trying to migrate abp version from 8.0 to 8.2.1. after migrating and running the auth server getting below error in administration service.
Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. ---> System.MissingMethodException: Method not found: 'Byte[] Microsoft.IdentityModel.Tokens.Base64UrlEncoder.UnsafeDecode(System.ReadOnlyMemory`1
please fins the logs file attached here : https://drive.google.com/file/d/1VuuObaM-9P0vcAUnUYpMqxwpDIoPDNlG/view?usp=sharing
after navigating from angular app to login page getting below error in logs :Issuer validation failed. Issuer: 'https://localhost:44322/'. Did not match: validationParameters.ValidIssuer: 'null' or validationParameters.ValidIssuers: 'https://{0}.localhost:44322/'.
after directly opening auth server url and try to log in getting error : The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was marked as rejected by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens.
please find the logs, module and appsettings files in below shared folder. https://drive.google.com/drive/folders/148gFlQJA1JnkC3k4Dd0aHV5WQLTIsF-o?usp=sharing
what UI component library react native uses e.g. bootstrap, react native base or any other?
i have used below link to lazyload styles inside my appcomponent.ts https://docs.abp.io/en/abp/latest/UI/Angular/Lazy-Load-Service
var tenant = this.config.getOne("currentTenant");
console.log(tenant)
this.lazyLoadService.load(
LOADING_STRATEGY.AppendAnonymousStyleToHead('../../assets/'+tenant.name+'styles.scss'),
).subscribe(res=> console.log(tenant));
this is appneding the styles in head tag but i do not see any effect from the lazyloaded styles.
I have downloaded the react native solution from abp suite. im trying to configure the react native mobile app to micro service hosted solution in staging environment as react native mobile app solution option not availble in suite to download with microservices template. im running the reactnative mobile solution in localhost and my microservices running on staging server on public domain. below is my environment.ts file for react native mobile app.
const apiUrl = `http://qa.****.in:44322`;
const ENV = {
dev: {
apiUrl: apiUrl,
oAuthConfig: {
issuer: apiUrl,
clientId: 'Angular',
clientSecret: '1q2w3e*',
scope: 'offline_access openid profile email phone AccountService IdentityService AdministrationService SaasService ProductService ClinicService AppointmentService FormsService',
},
localization: {
defaultResourceName: 'Book',
},
},
prod: {
apiUrl: 'http://localhost:44358',
oAuthConfig: {
issuer: 'http://localhost:44358',
clientId: "Angular",
scope: 'offline_access Book',
},
localization: {
defaultResourceName: 'Book',
},
},
};
export const getEnvVars = () => {
// eslint-disable-next-line no-undef
return __DEV__ ? ENV.dev : ENV.prod;
};
please help us with configuration.
I have a micro service template with auth server separated with angular. i have customized login and account pages in mvc auth server. Now i want move the customized login and register pages to angular application. i have gone through the below link: https://docs.abp.io/en/abp/7.3/UI/Angular/Account-Module https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement
Bu these links suggests to replace the whole component with my customized component unlike mvc where i have downloaded the source code and customized only few lines of code where ever necessary. please suggest if there is a way to download the account module source code for angular similar to auth server.