Hi,
I did a JWT token, but continue with the same response:
{
“error”: “Forbidden”,
“status”: 403,
“message”: “Error (403): JWT could not be verified”
}
I generated the JWT with this data:
header
{
“alg”: “HS256”,
“typ”: “JWT”
}
payload
{
“exp”: 1609459200,
“opaque_user_id”: “”,
“user_id”: “53672…”,
“channel_id”: “530843…”,
“role”: “external”,
“pubsub_perms”: {
“send”:[
“broadcast”, “whisper-*”
]
}
}
body
{
“message” : “oi”,
“content_type” : “application/json”,
“targets”: [ “whisper-UGwDK1x2Gq9Q7…”]
}
Can you guys give me any more tips?