emacs-slack icon indicating copy to clipboard operation
emacs-slack copied to clipboard

Authentication error

Open pati-ni opened this issue 2 years ago • 9 comments

Authentication using token retrieval through the javascript console is not working:

https://github.com/wee-slack/wee-slack/issues/844

Is there any other method available?

pati-ni avatar Jul 09 '21 15:07 pati-ni

https://github.com/yuya373/emacs-slack/pull/552 Here is PR about "xoxc-" type tokens

CommanderAsdasd avatar Jul 16 '21 15:07 CommanderAsdasd

I can confirm that the patch successfully authenticates

pati-ni avatar Jul 16 '21 15:07 pati-ni

Having the same issue, PR solved it.

pataquets avatar Sep 16 '21 02:09 pataquets

This issue can be closed now that PR #552 has been merged.

aculich avatar Nov 29 '21 10:11 aculich

Having the same issue - but looking up the d cookie and adding it as the :cookie param isn't solving it for me:

[2021-11-29 13:46:02] [trace] REQUEST FINISHED. URL: "https://slack.com/api/rtm.connect", PARAMS: (("mpim_aware" . "1") ("presence_sub" . "true")), DATA: (:ok :json-false :error "invalid_auth") - <company name> 
[2021-11-29 13:50:04] [error] An Error occured while closing websocket connection: (wrong-type-argument websocket nil) - <company name> 

parsoj avatar Nov 29 '21 21:11 parsoj

@parsoj are you on osx? I'm having the same issue on my osx installation, but my earlier Linux installation works fine with my original patch., so I'm trying to figure out why it works in one place and not the other.

aculich avatar Nov 29 '21 23:11 aculich

Same here , I'm on windows , it was working before with cookie d things , after update to latest master it's not working with invalid_auth

eggcaker avatar Nov 30 '21 08:11 eggcaker

Emojme is working for me, but not emacs-slack.

Commenting out the '--cookie cookie-jar' bit in here is a (really bad) workaround: https://github.com/tkf/emacs-request/blob/master/request.el#L863

alex-wellbelove avatar Dec 29 '21 13:12 alex-wellbelove

@aculich - Sorry only just circling back on this!

I am in fact on OSX. This is just a guess - but in the past I've run into some issues with some https-related c libraries that got compiled in when you built emacs on OSX/clang?

I might poke around a bit again just to see if anything new comes up with another attempt...

parsoj avatar Jan 26 '22 05:01 parsoj