Closed basil-conto closed 5 years ago
Speedy Gonzales support team! :)
The fact that my main project right now is a github client certainly helps 😉
To be clear, is there an alternative way to authenticate? Or is this package unable to authenticate at by any means this time?
I am unsure, to be perfectly honest. It's been a long time since I've worked with SE auth myself.
While I might not have had time to work on this project lately, I do promise I'd review/merge pull requests reasonably quickly if you're able to do the development.
Here's an update of the recipe:
emacs-version
:
In GNU Emacs 27.0.50 (build 10, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2018-06-04 built on thunk
Repository revision: 1dafa4a02ed45bb4d02c6dc34c55518858422088
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Debian GNU/Linux buster/sid
emacs -Q
package-initialize
RETsx-authenticate
RET
`redirect_uri` is not under the registered domain for this application
I wonder if this is caused by 46d9498e8f501697920c79437909cdddc93d5ec6?
@basil-conto good find!
I worked around it by changing the stackoverflow oauth URL so that the domain part of redirect_uri
was what it was before.
Then I could authenticate, and got redirected to a 404 page.
The auth token is there in the URL of that page for pasting back into emacs.
Thanks @e2m4n, that works.
@e2m4n
so that the domain part of redirect_uri was what it was before
What was it before?
Oh.. found it. You mean: http%3A%2F%2Fseanallred.com%2Fsx.el%2Fauth%2Fauth.htm
Thanks!
I'm still getting "redirect_uri
is not under the registered domain for this application" when I run sx-authenticate
. Is this something that hasn't been patched into the sx
library yet?
That's likely. If someone wants to take a crack at it I'd be more than happy to review and merge a PR, but otherwise I won't likely have to investigate this with all my other commitments :frown:
The error message is from Stack Overflow, and suggests that this can only be resolved by the Stack Apps app owner by adding the new domain to the whitelist. Once that's done this issue will auto-resolve :-)
I've edited the OAuth domain to vermiculus.github.io
– can someone verify if that was sufficient to address this issue?
@vermiculus I've reached "Good news! Authentication was successful. Your authentication token is..." and pasted in my token. However upon, say, sx-inbox
, I get sx-request-make: Request failed: (nil) [403 access_denied] "
keyis not valid for passed
access_token, token not found."
.
@vermiculus Thanks, everything works for me now.
Still broken for me. Same error:
sx-request-make: Request failed: (nil) [403 access_denied] "`key` is not valid for passed `access_token`, token not found."
Works for me now!
Great, I'm therefore closing this report for now.
Getting the same error as @matthew-piziak -- any update on this front?
Getting the same error as @matthew-piziak -- any update on this front?
Please provide the exact steps that you are taking along with what you expect and actually see at each stage, as I think authentication has been working for everyone here for a while now.
Sorry, realize now my last comment wasn't very constructive.
Just followed the directions in the read me. So, 1. M-x package install ...
Further iterations of the authenticate step didn't seem to help.
One thing that made me scratch my head was the first time I went to authenticate I was asked to create some sort of new account ... Which I did since I didn't know how else to get through that step (even though I already have a stack exchange account). Did I mess that step up perhaps?
Thanks for your patience all.
On Sun, Oct 13, 2019, 7:06 AM Basil L. Contovounesios < notifications@github.com> wrote:
Getting the same error as @matthew-piziak https://github.com/matthew-piziak -- any update on this front?
Please provide the exact steps that you are taking along with what you expect and actually see at each stage, as I think authentication has been working for everyone here for a while now.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vermiculus/sx.el/issues/342?email_source=notifications&email_token=AJGIXUVFVGSULUCHQAOBIKLQOMTLNA5CNFSM4EPCL6TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCW5XY#issuecomment-541421279, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJGIXUR4MYDEP2ZQMJFBHWTQOMTLNANCNFSM4EPCL6TA .
@godfrey-cw Are you being careful with leading/trailing whitespace? I don't quite remember but I think that that tripped me up at some point.
sx-version
:emacs-version
:emacs -Q
package-initialize
RETsx-authenticate
RETfind-function
RETsx-authenticate
RETsx-auth-redirect-uri
raise-sexp
RETsx-authenticate
RETtoggle-debug-on-error
RET
sx-inbox
RET