For anyone facing this same issue, I found the solution here: Invalid access token payload, jwt encrypted with A256GCM