Authentication-demo-ui Digital signature verification failed for signature heade

Hi,

After creating auth and misp partner using this tutorial hosurkrishnan/shareabledocs/blob/main/MSD-AuthdemoUI-Certificateexchangewithpartners-250123-0233 (1).pdf

and generated the ida-keys i have an issue by excuting

IDA_FRAUD_ANALYTICS topic:

logs:

7 DEBUG [http-nio-8090-exec-1] org.springframework.security.web.FilterChainProxy$VirtualFilterChain: /auth/ap39rocnjiFs87tErkH99pCCIPbWPYoj8ZrSu 1gGfqdyVeN06I/mpartner-auth-0003/413903 reached end of additional filter chain; proceeding with original chain
2023-02-16 15:19:20,192 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: sessionId - Event_filter - BaseIDAFilter - request at : 2023 -02-16T15:19:20.191861
2023-02-16 15:19:20,203 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: sessionId - Event_filter - BaseIDAFilter - Data size of requ est : 1.0263671875 kb
2023-02-16 15:19:20,224 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: SignatureSessionId - JWTSignature - - Certificate found in JWT Header.
2023-02-16 15:19:20,631 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation.
2023-02-16 15:19:20,636 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: AUTH
2023-02-16 15:19:20,637 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: pcSessionId - - - Loading CA TrustStore Cache for partnerD omain: AUTH
2023-02-16 15:19:20,664 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: AUTH
2023-02-16 15:19:20,665 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: pcSessionId - CertTrustPathValidation - - Total Number of R OOT Trust Found: 0
2023-02-16 15:19:20,665 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: pcSessionId - CertTrustPathValidation - - Total Number of I NTERMEDIATE Trust Found: 0
2023-02-16 15:19:20,696 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: mosip-ida-client - IdAuthSecurityManager - verifySignature - SIGNATURE VALID : true - TRUST VALID : false
2023-02-16 15:19:20,696 ERROR [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: sessionId - Event_filter - BaseAuthFilter - signature header verification failed
2023-02-16 15:19:20,700 ERROR [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: sessionId - Event_filter - BaseIDAFilter -
io.mosip.authentication.core.exception.IdAuthenticationAppException: IDA-MPA-001 → Digital signature verification failed for signature header
at io.mosip.authentication.common.service.filter.BaseAuthFilter.validateSignature(BaseAuthFilter.java:197)
at io.mosip.authentication.common.service.filter.BaseAuthFilter.authenticateRequest(BaseAuthFilter.java:163)
at io.mosip.authentication.common.service.filter.BaseAuthFilter.consumeRequest(BaseAuthFilter.java:74)
at io.mosip.authentication.common.service.filter.BaseIDAFilter.doFilter(BaseIDAFilter.java:163)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:84)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at io.mosip.kernel.websub.api.filter.MultipleReadRequestBodyFilter.doFilter(MultipleReadRequestBodyFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.cloud.sleuth.instrument.web.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at brave.servlet.TracingFilter.doFilter(TracingFilter.java:86)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
at io.mosip.kernel.core.logger.config.SleuthValve.invoke(SleuthValve.java:36)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1627)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:829)

2023-02-16 15:19:20,818 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: SignatureSessionId - JWTSignature - - JWT Signature Request .
2023-02-16 15:19:20,819 INFO [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: sessionId - - - Fetching Key Policy for keyPolicyName(Cach e): KERNEL
2023-02-16 15:19:20,823 ERROR [http-nio-8090-exec-1] io.mosip.kernel.logger.logback.impl.Slf4jLoggerImpl: SignatureSessionId - JWTSignature - - Signing Data is not a llowed for the authenticated user for the provided application id.
2023-02-16 15:19:20,830 ERROR [http-nio-8090-exec-1] io.mosip.kernel.core.retry.RetryListenerImpl:
io.mosip.kernel.signature.exception.RequestException: KER-JWS-108 → Signing data not allowed for the authenticated token.
at io.mosip.kernel.signature.service.impl.SignatureServiceImpl.jwtSign(SignatureServiceImpl.java:236)
at io.mosip.authentication.common.service.transaction.manager.IdAuthSecurityManager.sign(IdAuthSecurityManager.java:307)
at io.mosip.authentication.common.service.transaction.manager.IdAuthSecurityManager$$FastClassBySpringCGLIB$$a2acac75.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)

In adition there is no data in partner, partner_mapping and api_key_data, policy_data tables in ida schema after creation auth and misp partner with partner-management-service.
any idea about this issue.