protected static JwtContext parseJwtWithoutValidation ( String jwtString ) throws Exception { JwtConsumer firstPassJwtConsumer = new JwtConsumerBuilder ( ) . setSkipAllValidators ( ) . setDisableRequireSignature ( ) . setSkipSignatureVerification ( ) . build ( ) ; JwtContext jwtContext = firstPassJwtConsumer . process ( jwtString ) ; return jwtContext ; }
Just parse without validation for now