Closed Rudloff closed 6 years ago
If OAuth doesn’t currently work, then it should be fixed once #4092 is merged since it’s affecting it as well.
I tried OAuth and OAuth2 with Twidere. Doesn't work. No login. But it is possible that I don't understand how this is supposed to work. ;-)
Did you test with the current develop or master?
Current develop.
Ok, so we have to go over the OAuth implementation anyway, and I believe we should do it after #4092 is merged.
Blocked by #4092
Does anyone knows the state of this issue?
Since there hadn't been no answers to my question, I would like to close this issue now. Does anyone disagree?
Closed as stale.
Hello,
I tried to use Oauth in Twidere but could not get it to work. So now I'm using twurl in order to check if our implementation behaves like the Twitter API.
The authorize request does not work:
The main issue seems to be that
api/oauth/access_token
returns a 200 HTTP code even if it returns an error (which seems to trick twurl into thinking that the request worked). The Twitter API returns a 403 here so twurl then knows it has to calloauth/request_token
in order to get a request token. I think we should do the same.(This was tested on 3.5.4.)