Don't know if it's bug or something but when i sign in with twitter i get the token page : (http://example.com/twitter/oauth?oauth_token=ORru1HvJJDD8MsUeDcBMxEBRdVB...)
i would like to know if there's any solution to redirect the users to the front page for example or the user page

Comments

steinmb’s picture

Title:Redirect to homepage after login» Redirect after login

Retested with the current code. You are redirected back to the page you came from that works OK in most use cases like:
- Login from the front page example through Drupal core login block, back to front page.
- Login from /user and you are redirected back and view your profile correctly.

The problem with this is if you login from /user/login. Redirecting the authenticated user back to this trigger an Error 403 as an logged in user no longer have access this.

juampy’s picture

steinmb’s picture

Status:Active» Closed (duplicate)

Duplicate to what issue?

juampy’s picture

Updated comment #2 with the correct reference.

pelicani’s picture

Status:Closed (duplicate)» Active

The drupal 6 version also has this issue.
The above reference only solves the dv7 issue.
I looked at the d7 solution, but the d6 version is not setup the same.
Dv6 uses SESSION variables to set the destination.

Please comment if we need a patch for this.