-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got Error: 'Invalid signature: Expected HMAC SHA256 hex digest' on authenticating user for private channel #149
Comments
Do you receive this every time you attempt to subscribe? This is the result of an incorrect token specified either in the client or server - https://docs.bird.com/pusher/channels/channels/troubleshooting/why-am-i-receiving-the-invalid-signature-expected-hmac-sha256-error |
yes, I receive this error every time, but the server correctly generates an auth token and on the client side, I haven't identified any errors. |
It might generate a token, but the token appears to be using incorrect values. You should ensure the key provided to the client is correct, along with the app id, key and secret provided to the generating server is valid. |
Yes, I checked all values are the same and valid, even though it works fine in public channels. |
Could you get in touch with us at [email protected]? This was you can share more of your code and the keys being used so I can look to replicate |
The error i got on pusher debug console
![Screenshot 2024-03-05 at 5 57 12 PM](https://private-user-images.githubusercontent.com/61314741/310127921-f102b219-6373-45a7-bd79-ed5054704e44.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU0MTA3MjAsIm5iZiI6MTcyNTQxMDQyMCwicGF0aCI6Ii82MTMxNDc0MS8zMTAxMjc5MjEtZjEwMmIyMTktNjM3My00NWE3LWJkNzktZWQ1MDU0NzA0ZTQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA0VDAwNDAyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNlMjVkNjQ4ZGExNzIyYmQ3MWZjNTI1Y2Y5ZjU4NjZkNDUxM2I3MzU3NmRlYTUzYTMzYWRkYzIxMmFhNTQ3OGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Qk0gwNmitbr9ulV8gK2HL_F2fil935o0oHUIFERsqXY)
here's my code
response I got from server
The text was updated successfully, but these errors were encountered: