Callback doesn't work


#1

Hey there,

I have a problem with the callback from twitter. I’m using twitter4j, but that problem shouldn’t have anything to do with that.
But I’m still a beginner at these things, so I’m not sure.

Well…
I have a “sign-in”-link on “http://127.0.0.1:8080/webapp/login”. When the user clicks on the link he’ll get redirected to twitter. After the login he should be redirected to “http://127.0.0.1:8080/webapp/callback”, but that doesn’t work. I registered “http://127.0.0.1:8080/webapp/callback” as callback-url on twitter already, but the user gets directly back to “http://127.0.0.1:8080/webapp/login” every time.

Would be nice if someone could help me out.

Thanks in advance.


#2

Sorry for bump, but I really don’t know what’s going on and really need help for this…
It doesn’t matter what callbackURL i register, I just get redirected back to “http://127.0.0.1:8080/webapp/login”, after I the login/authorization on twitter.


#3

idk


#4

idk = i don’t know?
Well ok, but thanks for the bump. :slight_smile:

Btw. like i said, when I register “http://127.0.0.1:8080/xxxxx” as callback I get redirected everytime to “http://127.0.0.1:8080/webapp/login”.
Now I tried “http://www.seittest.net” for example and it works perfect.

So it should be a problem within our webapp that every “http://127.0.0.1:8080/xxxxx”-callback gets redirected to “http://127.0.0.1:8080/webapp/login” ?
But I don’t know how to fix it.