hupili / sns-router

Intelligent Cross Domain SNS Router
14 stars 9 forks source link

One additional login is required to access auth_second #11

Closed hupili closed 11 years ago

hupili commented 11 years ago

Many URL routes are decorated with @check_login.

After login, one can access all those URLs.

/auth/second/ is strange. The first time it is redirected to, login is required. After you login, you can click "Go to auth" from the config panel again and this time, /auth_second/ functions properly...

Observed this long ago, but did not find the cause.

Anyway, it bothers users to input username and password again. This is not frequent operation. Just leave to lower priority. If anyone knows the cause, welcome to fix it. Thanks.

hupili commented 11 years ago

This is the problem of user side configuration. In my case, I visit the site by localhost:8080, my callback URL redirects me to 127.0.0.1:8080. This is regarded as two different sites.