mattermost-community / mattermost-plugin-aws-SNS

Plugin that receives SNS notification from Alerts created by AWS CloudWatch and sent via AWS SNS
Apache License 2.0
21 stars 22 forks source link

SNS plugin error TOKEN INVALID #45

Closed miketwenty1 closed 4 years ago

miketwenty1 commented 4 years ago

Version 1.1.0 installed for AWS SNS. Version 5.25.0 of mattermost installed.

Screen Shot of my config sns config screen: snsconfig

Question: Let's say multiple names exist in the comma separated field for authorized id's. Via #4 on the README.md how do you specify a user?

Concern: In AWS when I try to verify a subscription I see this in the logs of mattermost.log {"level":"error","ts":1596645973.1082277,"caller":"mlog/sugar.go:23","msg":"AWSSNS TOKEN INVALID","plugin_id":"com.mattermost.aws-sns"}

When reinstalling sns from marketplace it had the same configuration, not sure where it's pulling old config from.

Wondering if this is an issue on my side or the plugin.

Edit: Adding the sns bot id to the authorized id's list doesn't seem to of done anything. Seemed to have worked on previous v5.13.2 with plugin version 1.0.0 (before upgrade). Tried different tokens. Tried Server restarts. Still seems to say invalid token.

miketwenty1 commented 4 years ago

Looked at it again.. had a tiny typo when replacing the vars in: https://your-mattermost-url/plugins/com.mattermost.aws-sns?token=your-mattermost-token