tylercd100 / lern

LERN is a Laravel 5 package that will record exceptions into a database and will notify you via Email, Pushover or Slack.
MIT License
441 stars 37 forks source link

Configure Slack to Work #50

Open gthuo opened 7 years ago

gthuo commented 7 years ago

Anyone who has gotten to configure Slack to work? I get to make Slack notifications work I need to add it to the list of drivers in the config file, then under the slack key under notify key, I specify the special values for Slack env. I have defined these in .env.

To get a Slack App Token, I need to create a new app on Slack? I have created one afterwhich I got a client ID, a secret and a verification token. This verification token is what I should use with in the SLACK_APP_TOKEN .env value or? And for the channel option, can I use a private channel?

Help me, because I have done all these well but no notifications going to Slack. Is there some configuration I am missing or I am doing wrong?

tylercd100 commented 7 years ago

Hello gthuo,

Please take a look at this issue https://github.com/tylercd100/lern/issues/49

robbielove commented 4 years ago

I have got it to work, you just need to use the OAuth Access Token which you can get from the app settings in slack under 'install app'

yes you can use a private channel

https://api.slack.com/docs/oauth