Due to security concerns regarding JWTs being stored in a database, I wondered today if I could hash them instead.
My webapp could still verify the user's refresh-token if used to refresh his/her access-token as they're signed.
I don't currently see a downside to this.
My refresh-tokens are only valid for 7-days so if the tokens were exposed, I could revoke them and force all users to re-login -- not terribly painful.
But generally speaking, is this approach a more secure one? Am I overlooking anything?