Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.11.1
Description
I am trying to use Azure AD as the backend for the JWTAuthPlugin. I got it to sign-in and let me use the admin portal, however, we are getting the following error message in the logs on every api request back to solr through the portal:
2022-03-09 20:26:27.411 INFO (qtp1515403487-23) [ ] o.a.s.s.SolrDispatchFilter Error authenticating => org.jose4j.jwt.consumer.InvalidJwtException: JWT processing failed. Additional details: [[17] Unable to process JOSE object (cause: org.jose4j.lang.JoseException: Parsing error: org.jose4j.json.internal.json_simple.parser.ParseException: Unexpected character () at position 0.): Bearer eyJ0eXAiOiJKV1QiLCJub25jZSI6IjNMdTkzNmFsLTZkUG1udkIxalp2Skd2WDN5Y1FpSU1NTkx0c0dIUG9USXciLCJhbGciOiJSUzI1NiIsIng1dCI6ImpTMVhvMU9XRGpfNTJ2YndHTmd2UU8yVnpNYyIsImtpZCI6ImpTMVhvMU9XRGpfNTJ2YndHTmd2UU8yVnpNYyJ9.eyJhdWQiOiIwMDAwMDAwMy0wMDAwLTAwMDAtYzAwMC0wMDAwMDAwMDAwMDAiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC84OTI4YzU4ZC01MjEyLTQ3YjAtYTU0OS04ZTkyZTUxMjQ0YmYvIiwiaWF0IjoxNjQ2ODU3Mjg2LCJuYmYiOjE2NDY4NTcyODYsImV4cCI6MTY0Njg2MjIxNiwiYWNjdCI6MCwiYWNyIjoiMSIsImFjcnMiOlsidXJuOnVzZXI6cmVnaXN0ZXJzZWN1cml0eWluZm8iXSwiYWlvIjoiQVVRQXUvOFRBQUFBbXpDUlhzbEgwNHFOR1paT2g5TGx2MnFBZkE2ZzYwTWFlWkRRWUc2bG02TU5nVHN3MmZHdVhHRDI5eUxWdFRHcURPcWFVMFF3eDdvc0s3ZDhJcUswaGc9PSIsImFsdHNlY2lkIjoiMTpsaXZlLmNvbTowMDAzMDAwMEZDNDZEREQxIiwiYW1yIjpbInB3ZCJdLCJhcHBfZGlzcGxheW5hb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ssSGwAnMOS5F2ZFUnAXtGjq0nW6rHF-9yfEoFFRf-16wyqBqnt7HfFQHO8MWxF7eghipQv-2xXY3P4icrtun90NesvtNQWeupT_SfY79h-HiZkXqxXlcShqzTTD2IJWd5fgk8YPY-6BgbafIqokwsB4Xr14e4F3kXeD-T4SHXKyquSt5ekAg_Tq0hQ3ODgIcJOmZyeOlExuz8mbGf5KWjQ7Zr8O2BHjp3HaE3FrK9rPqsx1yxRnPZPVA78LIh1WI_5d-ltoZ9oGJibp2ulfqEhiBU1XP3zrA] at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:413) org.jose4j.jwt.consumer.InvalidJwtException: JWT processing failed. Additional details: [[17] Unable to process JOSE object (cause: org.jose4j.lang.JoseException: Parsing error: org.jose4j.json.internal.json_simple.parser.ParseException: Unexpected character () at position 0.): Bearer eyJ0eXAiOiJKV1QiLCJub25jZSI6IjNMdTkzNmFsLTZkUG1udkIxalp2Skd2WDN5Y1FpSU1NTkx0c0dIUG9USXciLCJhbGciOiJSUzI1NiIsIng1dCI6ImpTMVhvMU9XRGpfNTJ2YndHTmd2UU8yVnpNYyIsImtpZCI6ImpTMVhvMU9XRGpfNTJ2YndHTmd2UU8yVnpNYyJ9.eyJhdWQiOiIwMDAwMDAwMy0wMDAwLTAwMDAtYzAwMC0wMDAwMDAwMDAwMDAiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC84OTI4YzU4ZC01MjEyLTQ3YjAtYTU0OS04ZTkyZTUxMjQ0YmYvIiwiaWF0IjoxNjQ2ODU3Mjg2LCJuYmYiOjE2NDY4NTcyODYsImV4cCI6MTY0Njg2MjIxNiwiYWNjdCI6MCwiYWNyIjoiMSIsImFjcnMiOlsidXJuOnVzZXI6cmVnaXN0ZXJzZWN1cml0eWluZm8iXSwiYWlvIjoiQVVRQXUvOFRBQUFBbXpDUlhzbEgwNHFOR1paT2g5TGx2MnFBZkE2ZzYwTWFlWkRRWUc2bG02TU5nVHN3MmZHdV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jZCMmtEUjQ3RlJtU1paLS1fUjV2U3NVdV9ZWk1YNUxONmdQZyJ9LCJ4bXNfdGNkdCI6MTUzMDYzNjc2M30.Y5V_AJphcqqZ_fTEyrDUCT8Uqok4K6_XmueLvfvKk_lTNLl-ALC9lpssSGwAnMOS5F2ZFUnAXtGjq0nW6rHF-9yfEoFFRf-16wyqBqnt7HfFQHO8MWxF7eghipQv-2xXY3P4icrtun90NesvtNQWeupT_SfY79h-HiZkXqxXlcShqzTTD2IJWd5fgk8YPY-6BgbafIqokwsB4Xr14e4F3kXeD-T4SHXKyquSt5ekAg_Tq0hQ3ODgIcJOmZyeOlExuz8mbGf5KWjQ7Zr8O2BHjp3HaE3FrK9rPqsx1yxRnPZPVA78LIh1WI_5d-ltoZ9oGJibp2ulfqEhiBU1XP3zrA] at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:413) ~[?:?] at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[?:?] at org.apache.solr.security.JWTAuthPlugin.doAuthenticate(JWTAuthPlugin.java:304) ~[?:?] at org.apache.solr.security.AuthenticationPlugin.authenticate(AuthenticationPlugin.java:88) ~[?:?] at org.apache.solr.servlet.SolrDispatchFilter.authenticateRequest(SolrDispatchFilter.java:518) ~[?:?] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:411) ~[?:?] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:357) ~[?:?] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) ~[jetty-security-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322) ~[jetty-rewrite-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at java.lang.Thread.run(Unknown Source) [?:?] Caused by: org.jose4j.lang.JoseException: Parsing error: org.jose4j.json.internal.json_simple.parser.ParseException: Unexpected character () at position 0. at org.jose4j.json.JsonUtil.parseJson(JsonUtil.java:66) ~[?:?] at org.jose4j.jwx.Headers.setEncodedHeader(Headers.java:117) ~[?:?] at org.jose4j.jwx.JsonWebStructure.setEncodedHeader(JsonWebStructure.java:127) ~[?:?] at org.jose4j.jws.JsonWebSignature.setCompactSerializationParts(JsonWebSignature.java:110) ~[?:?] at org.jose4j.jwx.JsonWebStructure.fromCompactSerialization(JsonWebStructure.java:94) ~[?:?] at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:327) ~[?:?] ... 45 more Caused by: org.jose4j.json.internal.json_simple.parser.ParseException: Unexpected character () at position 0. at org.jose4j.json.internal.json_simple.parser.Yylex.yylex(Yylex.java:612) ~[?:?] at org.jose4j.json.internal.json_simple.parser.JSONParser.nextToken(JSONParser.java:269) ~[?:?] at org.jose4j.json.internal.json_simple.parser.JSONParser.parse(JSONParser.java:118) ~[?:?] at org.jose4j.json.internal.json_simple.parser.JSONParser.parse(JSONParser.java:81) ~[?:?] at org.jose4j.json.JsonUtil.parseJson(JsonUtil.java:62) ~[?:?] at org.jose4j.jwx.Headers.setEncodedHeader(Headers.java:117) ~[?:?] at org.jose4j.jwx.JsonWebStructure.setEncodedHeader(JsonWebStructure.java:127) ~[?:?] at org.jose4j.jws.JsonWebSignature.setCompactSerializationParts(JsonWebSignature.java:110) ~[?:?] at org.jose4j.jwx.JsonWebStructure.fromCompactSerialization(JsonWebStructure.java:94) ~[?:?] at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:327) ~[?:?] ... 45 more 2022-03-09 20:26:27.411 WARN (qtp1515403487-23) [ ] o.e.j.s.HttpChannel /solr/admin/info/system => org.apache.solr.common.SolrException: Error during request authentication, at org.apache.solr.servlet.SolrDispatchFilter.authenticateRequest(SolrDispatchFilter.java:524) org.apache.solr.common.SolrException: Error during request authentication, at org.apache.solr.servlet.SolrDispatchFilter.authenticateRequest(SolrDispatchFilter.java:524) ~[?:?] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:411) ~[?:?] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:357) ~[?:?] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) ~[jetty-security-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322) ~[jetty-rewrite-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] at java.lang.Thread.run(Unknown Source) [?:?] Caused by: org.jose4j.jwt.consumer.InvalidJwtException: JWT processing failed. Additional details: [[17] Unable to process JOSE object (cause: org.jose4j.lang.JoseException: Parsing error: org.jose4j.json.internal.json_simple.parser.ParseException: Unexpected character () at position 0.): Bearer eyJ0eXAiOiJKV1QiLCJub25jZSI6IjNMdTkzNmFsLTZkUG1udkIxalp2Skd2WDN5Y1FpSU1NTkx0c0dIUG9USXciLCJhbGciOiJSUzI1NiIsIng1dCI6ImpTMVhvMU9XRGpfNTJ2YndHTmd2UU8yVnpNYyIsImtpZCI6ImpTMVhvMU9XRGpfNTJ2YndHTmd2UU8yVnpNYyJ9.eyJhdWQiOiIwMDAwMDAwMy0wMDAwLTAwMDAtYzAwMC0wMDAwMDAwMDAwMDAiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC84OTI4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N3RLcGhsOVdMWVRzdmd6cE5iNTAwNndGT2gzX1V2RWciLCJ0ZW5hbnRfcmVnaW9uX3Njb3BlIjoiTkEiLCJ0aWQiOiI4OTI4YzU4ZC01MjEyLTQ3YjAtYTU0OS04ZTkyZTUxMjQ0YmYiLCJ1bmlxdWVfbmFtZSI6ImxpdmUuY29tI2Vjb29rZUBtYWN1LmNvbSIsInV0aSI6IlRHaVZwY1M3ajBXN1JXa3hteEdpQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfc3QiOnsic3ViIjoiSFpVUTNaSjZCMmtEUjQ3RlJtU1paLS1fUjV2U3NVdV9ZWk1YNUxONmdQZyJ9LCJ4bXNfdGNkdCI6MTUzMDYzNjc2M30.Y5V_AJphcqqZ_fTEyrDUCT8Uqok4K6_XmueLvfvKk_lTNLl-ALC9lpssSGwAnMOS5F2ZFUnAXtGjq0nW6rHF-9yfEoFFRf-16wyqBqnt7HfFQHO8MWxF7eghipQv-2xXY3P4icrtun90NesvtNQWeupT_SfY79h-HiZkXqxXlcShqzTTD2IJWd5fgk8YPY-6BgbafIqokwsB4Xr14e4F3kXeD-T4SHXKyquSt5ekAg_Tq0hQ3ODgIcJOmZyeOlExuz8mbGf5KWjQ7Zr8O2BHjp3HaE3FrK9rPqsx1yxRnPZPVA78LIh1WI_5d-ltoZ9oGJibp2ulfqEhiBU1XP3zrA] at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:413) ~[?:?] at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[?:?] at org.apache.solr.security.JWTAuthPlugin.doAuthenticate(JWTAuthPlugin.java:304) ~[?:?] at org.apache.solr.security.AuthenticationPlugin.authenticate(AuthenticationPlugin.java:88) ~[?:?] at org.apache.solr.servlet.SolrDispatchFilter.authenticateRequest(SolrDispatchFilter.java:518) ~[?:?] ... 41 more Caused by: org.jose4j.lang.JoseException: Parsing error: org.jose4j.json.internal.json_simple.parser.ParseException: Unexpected character () at position 0. at org.jose4j.json.JsonUtil.parseJson(JsonUtil.java:66) ~[?:?] at org.jose4j.jwx.Headers.setEncodedHeader(Headers.java:117) ~[?:?] at org.jose4j.jwx.JsonWebStructure.setEncodedHeader(JsonWebStructure.java:127) ~[?:?] at org.jose4j.jws.JsonWebSignature.setCompactSerializationParts(JsonWebSignature.java:110) ~[?:?] at org.jose4j.jwx.JsonWebStructure.fromCompactSerialization(JsonWebStructure.java:94) ~[?:?] at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:327) ~[?:?] at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[?:?] at org.apache.solr.security.JWTAuthPlugin.doAuthenticate(JWTAuthPlugin.java:304) ~[?:?] at org.apache.solr.security.AuthenticationPlugin.authenticate(AuthenticationPlugin.java:88) ~[?:?] at org.apache.solr.servlet.SolrDispatchFilter.authenticateRequest(SolrDispatchFilter.java:518) ~[?:?] ... 41 more Caused by: org.jose4j.json.internal.json_simple.parser.ParseException: Unexpected character () at position 0. at org.jose4j.json.internal.json_simple.parser.Yylex.yylex(Yylex.java:612) ~[?:?] at org.jose4j.json.internal.json_simple.parser.JSONParser.nextToken(JSONParser.java:269) ~[?:?] at org.jose4j.json.internal.json_simple.parser.JSONParser.parse(JSONParser.java:118) ~[?:?] at org.jose4j.json.internal.json_simple.parser.JSONParser.parse(JSONParser.java:81) ~[?:?] at org.jose4j.json.JsonUtil.parseJson(JsonUtil.java:62) ~[?:?] at org.jose4j.jwx.Headers.setEncodedHeader(Headers.java:117) ~[?:?] at org.jose4j.jwx.JsonWebStructure.setEncodedHeader(JsonWebStructure.java:127) ~[?:?] at org.jose4j.jws.JsonWebSignature.setCompactSerializationParts(JsonWebSignature.java:110) ~[?:?] at org.jose4j.jwx.JsonWebStructure.fromCompactSerialization(JsonWebStructure.java:94) ~[?:?] at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:327) ~[?:?] at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[?:?] at org.apache.solr.security.JWTAuthPlugin.doAuthenticate(JWTAuthPlugin.java:304) ~[?:?] at org.apache.solr.security.AuthenticationPlugin.authenticate(AuthenticationPlugin.java:88) ~[?:?] at org.apache.solr.servlet.SolrDispatchFilter.authenticateRequest(SolrDispatchFilter.java:518) ~[?:?] ... 41 more
Attachments
Issue Links
- links to