Activities of "smansuri"

this all im getting in the logs administration service also logs below errors : Failed to validate the token.

Microsoft.IdentityModel.Tokens.SecurityTokenUnableToValidateException: IDX10516: Signature validation failed. Unable to match key:
kid: '05159518D7C42712ECEA1808FCED3FA610CC9034'.
Number of keys in TokenValidationParameters: '0'.
Number of keys in Configuration: '2'.
Exceptions caught:
 '[PII of type 'System.Text.StringBuilder' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'.
token: '[PII of type 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. Valid Lifetime: 'False'. Valid Issuer: 'True'
   at Microsoft.IdentityModel.Tokens.InternalValidators.ValidateLifetimeAndIssuerAfterSignatureNotValidatedJwt(SecurityToken securityToken, Nullable`1 notBefore, Nullable`1 expires, String kid, TokenValidationParameters validationParameters, BaseConfiguration configuration, StringBuilder exceptionStrings, Int32 numKeysInConfiguration, Int32 numKeysInTokenValidationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateSignature(String token, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
[07:37:04 INF] Bearer was not authenticated. Failure message: IDX10516: Signature validation failed. Unable to match key:
kid: '05159518D7C42712ECEA1808FCED3FA610CC9034'.
Number of keys in TokenValidationParameters: '0'.
Number of keys in Configuration: '2'.
Exceptions caught:
 '[PII of type 'System.Text.StringBuilder' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'.
token: '[PII of type 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. Valid Lifetime: 'False'. Valid Issuer: 'True'

we are able to resolve the above issue but nor on connect/token url we are getting below error: The token request was successfully extracted: { "code": "[redacted]", "grant_type": "authorization_code", "redirect_uri": "https://scopeuat.doctrz.in", "client_id": "Angular", "code_verifier": "N2ZZVXRETGJXMVBpQWlJak8xdmhXTURKTTNNfjBqM1RqVHQxbkUzZ0Z5OWRO" }. [06:25:04 INF] The response was successfully returned as a JSON document: { "error": "invalid_grant", "error_description": "The specified token is invalid.", "error_uri": "https://documentation.openiddict.com/errors/ID2004"

below is the log link: https://drive.google.com/file/d/15kFj5-MZuipnCxWQdOXndydysyMq9l95/view?usp=sharing

But according to the react abp document app.js is the bootstrap component of the application.

after changing getting below error: The action 'NAVIGATE' with payload {"name":"Login"} was not handled by any navigator.

Do you have a screen named 'Login'?

After removin // comments and convertin it to /* comments and changing the file extension from scss to css worked.

Hi,

this is actually loading the auth server login and register pages in react mobile app simulator.

https://docs.abp.io/en/commercial/latest/getting-started-react-native

Start from ABP version 7.4 react native uses authorization code flow,

i just want to authenticate react native app through my auth server. after login click

If you want to use the password flow, you can modify the code when navigating to the react login page

Do you mean from 7.4 it will always load the auth server screen and not react native screen? Becuase my auth server is identity separated in mvc i would want to use react screen for login? whats the change i should make in above method?

Hello,

I have applied the code like below

And created one TenantNamestyle.scss file with the code

it result like

Please give it a try.

Thanks

Its not working for me. Do we need to reference this TenantNamestyle.scss in angular.json file? im getting below error : Refused to apply style from 'http://testdev.localhost:4200/teststyles.scss' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

its been 5 days and i have not seen any updated here. what kind of support are you providing.

Hi,

You can update the environment.ts to to separate Auth and API URL

const yourIP = 'Your Local IP Address etc 192.168.1.64'; // See the docs https://docs.abp.io/en/abp/latest/Getting-Started-React-Native?Tiered=No 
const authServerUrl = `http://qa.****.in:44322`; 
const gatewayUrl = "....."; // 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: 'Book', 
    }, 
  }, 
   
  ...... 

And change all related codes for example:

this is actually loading the auth server login and register pages in react mobile app simulator. i just want to authenticate react native app through my auth server. after login click

Showing 111 to 120 of 166 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20