Auth validate token not working

Hello,

I’m deploying mosip ida mobule. But I’m getting this error:

1/authmanager/authenticate/clientidsecretkey",“X-Span-Export”:“false”,“req.method”:“POST”,“req.userAgent”:“ReactorNetty/0.7.7.RELEASE”,“spanId”:“99cfa17edfb2c77f”,“X-B3-SpanId”:“99cfa17edfb2c77f”,“X-B3-TraceI
d”:“99cfa17edfb2c77f”,“req.remoteHost”:“172.17.0.1”,“req.requestURL”:“http://10.0.9.129:8091/v1/authmanager/authenticate/clientidsecretkey”}
{“@timestamp”:“2024-10-15T12:01:05.529Z”,“@version”:“1”,“message”:“secret key based authentication mosip-ida-client realm mosip accesstoken expires in 432000 refresh token expires in 0”,“logger_name”:“io.mosi
p.kernel.auth.defaultimpl.service.impl.AuthServiceImpl”,“thread_name”:“http-nio-8091-exec-10”,“level”:“INFO”,“level_value”:20000,“appName”:“kernel-auth-service”,“traceId”:“99cfa17edfb2c77f”,“spanExportable”:"
false",“req.requestURI”:“/v1/authmanager/authenticate/clientidsecretkey”,“X-Span-Export”:“false”,“req.method”:“POST”,“req.userAgent”:“ReactorNetty/0.7.7.RELEASE”,“spanId”:“99cfa17edfb2c77f”,“X-B3-SpanId”:“99c
fa17edfb2c77f”,“X-B3-TraceId”:“99cfa17edfb2c77f”,“req.remoteHost”:“172.17.0.1”,“req.requestURL”:“http://10.0.9.129:8091/v1/authmanager/authenticate/clientidsecretkey”}
{“@timestamp”:“2024-10-15T12:01:05.529Z”,“@version”:“1”,“message”:“clientidsecretkey for user mosip-ida-client status Success”,“logger_name”:“io.mosip.kernel.auth.controller.AuthController”,“thread_name”:“htt
p-nio-8091-exec-10”,“level”:“INFO”,“level_value”:20000,“appName”:“kernel-auth-service”,“traceId”:“99cfa17edfb2c77f”,“spanExportable”:“false”,“req.requestURI”:“/v1/authmanager/authenticate/clientidsecretkey”,"
X-Span-Export":“false”,“req.method”:“POST”,“req.userAgent”:“ReactorNetty/0.7.7.RELEASE”,“spanId”:“99cfa17edfb2c77f”,“X-B3-SpanId”:“99cfa17edfb2c77f”,“X-B3-TraceId”:“99cfa17edfb2c77f”,“req.remoteHost”:“172.17.
0.1”,“req.requestURL”:“http://10.0.9.129:8091/v1/authmanager/authenticate/clientidsecretkey”}
{“@timestamp”:“2024-10-15T12:01:05.533Z”,“@version”:“1”,“message”:“Chain processed normally”,“logger_name”:“org.springframework.security.web.access.ExceptionTranslationFilter”,“thread_name”:“http-nio-8091-exe
c-10”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“99cfa17edfb2c77f”,“spanExportable”:“false”,“X-Span-Export”:“false”,“spanId”:“99cfa17edfb2c77f”,“X-B3-SpanId”:“99cfa17edfb2c
77f”,“X-B3-TraceId”:“99cfa17edfb2c77f”}
{“@timestamp”:“2024-10-15T12:01:05.533Z”,“@version”:“1”,“message”:“SecurityContextHolder now cleared, as request processing completed”,“logger_name”:“org.springframework.security.web.context.SecurityContextPe
rsistenceFilter”,“thread_name”:“http-nio-8091-exec-10”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“99cfa17edfb2c77f”,“spanExportable”:“false”,“X-Span-Export”:“false”,“spanId
“:“99cfa17edfb2c77f”,“X-B3-SpanId”:“99cfa17edfb2c77f”,“X-B3-TraceId”:“99cfa17edfb2c77f”}
{”@timestamp”:“2024-10-15T12:01:05.533Z”,“level”:“DEBUG”,“level_value”:70000,“traceId”:“99cfa17edfb2c77f”,“statusCode”:200,“req.requestURI”:“/v1/authmanager/authenticate/clientidsecretkey”,“bytesSent”:205,“ti
meTaken”:0.046,“appName”:“kernel-auth-service”,“req.userAgent”:“ReactorNetty/0.7.7.RELEASE”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“POST”,“req.remoteHost”:“172.17.0.1”}
{“@timestamp”:“2024-10-15T12:01:05.689Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 1 of 11 in additional filter chain; firing Filter: ‘WebAsyncManagerIntegrationFilte
r’”,“logger_name”:“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spa
nId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.689Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 2 of 11 in additional filter chain; firing Filter: ‘SecurityContextPersistenceFilte
r’”,“logger_name”:“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spa
nId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.689Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 3 of 11 in additional filter chain; firing Filter: ‘HeaderWriterFilter’”,“logger_na
me”:“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07
f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.689Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 4 of 11 in additional filter chain; firing Filter: ‘LogoutFilter’”,“logger_name”:“o
rg.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f67087
56”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.689Z”,“@version”:“1”,“message”:“Trying to match using Ant [pattern=‘/logout’, GET]”,“logger_name”:“org.springframework.security.web.util.matcher.OrRequestMatcher”,“thread_na
me”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-S
panId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.689Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘/logout’”,“logger_name”:“org.springframework.security.w
eb.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanEx
portable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Trying to match using Ant [pattern=‘/logout’, POST]”,“logger_name”:“org.springframework.security.web.util.matcher.OrRequestMatcher”,“thread_n
ame”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-
SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Request ‘GET /v1/authmanager/authorize/admin/validateToken’ doesn’t match 'POST /logout”,“logger_name”:“org.springframework.security.web.util
.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportabl
e”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Trying to match using Ant [pattern=‘/logout’, PUT]”,“logger_name”:“org.springframework.security.web.util.matcher.OrRequestMatcher”,“thread_na
me”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-S
panId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Request ‘GET /v1/authmanager/authorize/admin/validateToken’ doesn’t match 'PUT /logout”,“logger_name”:“org.springframework.security.web.util.
matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportable
“:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Trying to match using Ant [pattern=‘/logout’, DELETE]”,“logger_name”:“org.springframework.security.web.util.matcher.OrRequestMatcher”,“thread
_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B
3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Request ‘GET /v1/authmanager/authorize/admin/validateToken’ doesn’t match 'DELETE /logout”,“logger_name”:“org.springframework.security.web.ut
il.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExporta
ble”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“No matches found”,“logger_name”:“org.springframework.security.web.util.matcher.OrRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”
:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-Tr
aceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 5 of 11 in additional filter chain; firing Filter: ‘AuthFilter’”,“logger_name”:“org
.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756
“,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//assets/’”,“logger_name”:“org.springframework.secu
rity.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,"
spanExportable":“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//icons/’”,“logger_name”:“org.springframework.secur
ity.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“s
panExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//screenshots/’”,“logger_name”:“org.springframework
.security.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f67087
56”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘/favicon**’”,“logger_name”:“org.springframework.securit
y.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spa
nExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.690Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//favicon’”,“logger_name”:“org.springframework.secu
rity.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,"
spanExportable":“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//css/’”,“logger_name”:“org.springframework.securit
y.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spa
nExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//js/’”,“logger_name”:“org.springframework.security
.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“span
Exportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//error’”,“logger_name”:“org.springframework.securi
ty.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“sp
anExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//webjars/’”,“logger_name”:“org.springframework.sec
urity.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,
“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//v2/api-docs’“,“logger_name”:“org.springframework.se
curity.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”
,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp":“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:"Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against '/
/configuration/ui’”,“logger_name”:“org.springframewo
rk.security.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f670
8756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//configuration/security’“,“logger_name”:“org.springf
ramework.security.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca
07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp":“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:"Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against '/
/swagger-resources/'“,“logger_name”:“org.springfra
mework.security.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07
f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp":“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:"Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against '/
/swagger-ui.html’”,“logger_name”:“org.springframewor
k.security.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708
756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘//csrf’“,“logger_name”:“org.springframework.security.
web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanE
xportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp":“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘/*/’”,“logger_name”:“org.springframework.security.web.u
til.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExport
able”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:"Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against '
/authenticate/'“,“logger_name”:“org.springframework
.security.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f67087
56”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp":“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:"Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against '/
/actuator/'“,“logger_name”:“org.springframework.se
curity.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”
,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp":“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:"Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against '/
/authmanager/**’”,“logger_name”:“org.springframework
.security.web.util.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f67087
56”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 6 of 11 in additional filter chain; firing Filter: ‘RequestCacheAwareFilter’”,“logg
er_name”:“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b9
7ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 7 of 11 in additional filter chain; firing Filter: ‘SecurityContextHolderAwareReque
stFilter’”,“logger_name”:“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f670875
6”,“spanId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 8 of 11 in additional filter chain; firing Filter: ‘AnonymousAuthenticationFilter’”
,“logger_name”:“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId
“:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{”@timestamp”:“2024-10-15T12:01:05.691Z”,“@version”:“1”,“message”:“Populated SecurityContextHolder with anonymous token: ‘org.springframework.security.authentication.AnonymousAuthenticationToken@4d528ae3: Pri
ncipal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@ffff8868: RemoteIpAddress: 172.17.0.1; SessionId: null;
Granted Authorities: ROLE_ANONYMOUS’”,“logger_name”:“org.springframework.security.web.authentication.AnonymousAuthenticationFilter”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“ap
pName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.692Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 9 of 11 in additional filter chain; firing Filter: ‘SessionManagementFilter’”,“logg
er_name”:“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b9
7ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.692Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 10 of 11 in additional filter chain; firing Filter: ‘ExceptionTranslationFilter’”,"
logger_name":“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:
“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.692Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken at position 11 of 11 in additional filter chain; firing Filter: ‘FilterSecurityInterceptor’”,“l
ogger_name”:“org.springframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:"
1b97ca07f6708756",“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.692Z”,“@version”:“1”,“message”:“Checking match of request : ‘/v1/authmanager/authorize/admin/validateToken’; against ‘*’”,“logger_name”:“org.springframework.security.web.uti
l.matcher.AntPathRequestMatcher”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportab
le”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.692Z”,“@version”:“1”,“message”:“Public object - authentication not attempted”,“logger_name”:“org.springframework.security.web.access.intercept.FilterSecurityInterceptor”,“th
read_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,
“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.692Z”,“@version”:“1”,“message”:“/v1/authmanager/authorize/admin/validateToken reached end of additional filter chain; proceeding with original chain”,“logger_name”:“org.spri
ngframework.security.web.FilterChainProxy”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanId”:“1b97ca07f6708756”,“sp
anExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.697Z”,“@version”:“1”,“message”:“validate token request to http://10.0.9.129:8088/auth/realms/mosip/protocol/openid-connect/userinfo",“logger_name”:"io.mosip.kernel.auth.defa
ultimpl.service.impl.AuthServiceImpl”,“thread_name”:“http-nio-8091-exec-5”,“level”:“INFO”,“level_value”:20000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanExportable”:“false”,“req.request
URI”:“/v1/authmanager/authorize/admin/validateToken”,“X-Span-Export”:“false”,“req.method”:“GET”,“req.userAgent”:“Apache-HttpClient/4.5.6 (Java/11.0.16)”,“spanId”:“1b97ca07f6708756”,“X-B3-SpanId”:“1b97ca07f670
8756”,“X-B3-TraceId”:“1b97ca07f6708756”,“req.remoteHost”:“172.17.0.1”,“req.requestURL”:“http://10.0.9.129:8091/v1/authmanager/authorize/admin/validateToken”}
{“@timestamp”:“2024-10-15T12:01:05.697Z”,“@version”:“1”,“message”:“location http://10.0.9.129:8088/auth/realms/mosip/protocol/openid-connect/token refresh token expired: false”,“logger_name”:“io.mosip.kernel.
auth.defaultimpl.intercepter.RestInterceptor”,“thread_name”:“http-nio-8091-exec-5”,“level”:“INFO”,“level_value”:20000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanExportable”:“false”,“req
.requestURI”:“/v1/authmanager/authorize/admin/validateToken”,“X-Span-Export”:“false”,“X-B3-ParentSpanId”:“1b97ca07f6708756”,“req.method”:“GET”,“req.userAgent”:“Apache-HttpClient/4.5.6 (Java/11.0.16)”,“parentI
d”:“1b97ca07f6708756”,“spanId”:“5b2788ef7b435f9c”,“X-B3-SpanId”:“5b2788ef7b435f9c”,“X-B3-TraceId”:“1b97ca07f6708756”,“req.remoteHost”:“172.17.0.1”,“req.requestURL”:“http://10.0.9.129:8091/v1/authmanager/autho
rize/admin/validateToken”}
{“@timestamp”:“2024-10-15T12:01:05.768Z”,“@version”:“1”,“message”:“401 Unauthorized”,“logger_name”:“io.mosip.kernel.auth.defaultimpl.intercepter.RestInterceptor”,“thread_name”:“http-nio-8091-exec-5”,“level”:"
ERROR",“level_value”:40000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanExportable”:“false”,“req.requestURI”:“/v1/authmanager/authorize/admin/validateToken”,“X-Span-Export”:“false”,“X-B3-
ParentSpanId”:“1b97ca07f6708756”,“req.method”:“GET”,“req.userAgent”:“Apache-HttpClient/4.5.6 (Java/11.0.16)”,“parentId”:“1b97ca07f6708756”,“spanId”:“5b2788ef7b435f9c”,“X-B3-SpanId”:“5b2788ef7b435f9c”,“X-B3-Tr
aceId”:“1b97ca07f6708756”,“req.remoteHost”:“172.17.0.1”,“req.requestURL”:“http://10.0.9.129:8091/v1/authmanager/authorize/admin/validateToken”}
{“@timestamp”:“2024-10-15T12:01:05.769Z”,“@version”:“1”,“message”:“Exception Root Cause: null “,“logger_name”:“io.mosip.kernel.core.exception.ExceptionUtils”,“thread_name”:“http-nio-8091-exec-5”,“level”:“ERRO
R”,“level_value”:40000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanExportable”:“false”,“req.requestURI”:”/v1/authmanager/authorize/admin/validateToken”,“X-Span-Export”:“false”,“req.metho
d”:“GET”,“req.userAgent”:“Apache-HttpClient/4.5.6 (Java/11.0.16)”,“spanId”:“1b97ca07f6708756”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”,“req.remoteHost”:“172.17.0.1”,“req.requestURL”:
http://10.0.9.129:8091/v1/authmanager/authorize/admin/validateToken”}
{“@timestamp”:“2024-10-15T12:01:05.774Z”,“@version”:“1”,“message”:“Chain processed normally”,“logger_name”:“org.springframework.security.web.access.ExceptionTranslationFilter”,“thread_name”:“http-nio-8091-exe
c-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“spanId”:“1b97ca07f6708756”,“X-B3-SpanId”:“1b97ca07f67087
56”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.774Z”,“@version”:“1”,“message”:“SecurityContextHolder now cleared, as request processing completed”,“logger_name”:“org.springframework.security.web.context.SecurityContextPe
rsistenceFilter”,“thread_name”:“http-nio-8091-exec-5”,“level”:“DEBUG”,“level_value”:10000,“appName”:“kernel-auth-service”,“traceId”:“1b97ca07f6708756”,“spanExportable”:“false”,“X-Span-Export”:“false”,“spanId”
:“1b97ca07f6708756”,“X-B3-SpanId”:“1b97ca07f6708756”,“X-B3-TraceId”:“1b97ca07f6708756”}
{“@timestamp”:“2024-10-15T12:01:05.774Z”,“level”:“DEBUG”,“level_value”:70000,“traceId”:“1b97ca07f6708756”,“statusCode”:500,“req.requestURI”:“/v1/authmanager/authorize/admin/validateToken”,“bytesSent”:146,“tim
eTaken”:0.086,“appName”:“kernel-auth-service”,“req.userAgent”:“Apache-HttpClient/4.5.6 (Java/11.0.16)”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“172.17.0.1”}

Dear @OURO-BODI_Abdourakib,

Thank you for writing to us, We are looking into your query and one of our expert collegues will respond here with solution inputs.

Best Regards
Team MOSIP

Hello @OURO-BODI_Abdourakib ,

Please share with us the version of IDA that you are trying to run. Along with that, Please check the clientId and secret key combination configured in ida deployment against keycloak.

Thanks & Regards
Team MOSIP

I’m runing IDA version 1.1.5.

But actually I solve the error. I set authToken to null so the getAuthToken funtion will alwys regenerate a new one.

Thanks

1 Like