Don't know if it's bug or something but when i sign in with twitter i get the token page : (
i would like to know if there's any solution to redirect the users to the front page for example or the user page


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.

juampynr’s picture

steinmb’s picture

Status: Active » Closed (duplicate)

Duplicate to what issue?

juampynr’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.

DamienMcKenna’s picture

Version: 6.x-3.x-dev » 6.x-5.x-dev
Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

Please test out the latest -dev version and let me know if the problem persists.