Do not use none as a validation algorithm for a JWT token. The none algorithm assumes that the token has been verified, which would allow attacker to create a token that would be automatically validated.
Never use the none algorithm, always use a valid algorithm as directed by the documentation.