app
app copied to clipboard
Hardcoded secret in the JWTAuthHandler
I thought it makes more sense to share a common secret between the Auth Service and the Hello Service with the --secret flag. Before the secret was hardcoded in the JWTAuthHandler, meaning that any other secret than "secret" in the Auth Service would result in an "Authorization failed" message.