Closed (duplicate)
Project:
OpenID
Version:
5.x-1.1
Component:
OpenID Client
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2008 at 15:31 UTC
Updated:
23 Apr 2009 at 22:16 UTC
I have a slight problem where when the user signs in with the openid the user is returned to the login page and then of course there is a
Access denied
You are not authorized to access this page.
on the center on the screen while on the side the user is logged in.
I just need to send the users to the frontpage instead.
I am not sure in which line in the openid module file it is
Any ideas ?
Comments
Comment #1
dutsi commentedOk I found out that the function drupal_get_destination() on line 109 needs to be replaced with 'http://yoursite.com/user/'
I would like to do a thickbox one
So any ideas?
Comment #2
dutsi commentedComment #3
magoo commentedHacking the module code is not a viable solution.
I have the same issue.
Normal login redirects to the user's profile page, but openid login send the user to
user/login, which is "access denied".drupal_get_destination() returns the current page (here
user/login) if no destination is passed as argument in the request.The module should test this and either have a configurable redirection or, simpler, return the user the his profile page (using the
url_aliastable or theURL)
Comment #4
1enigma1 commentedNormally, I'd agree... but since none of the significant bug fixes for the 5.x release have been committed, nor most of the well tested code in the 6.0 core version have been backported, I'd say it is a free for all until someone gets off their &&&& and fixes this unacceptably unstable module (5.x).
I'd do it myself if I were a programmer. I'm not. But, I WOULD CONTRIBUTE $$$$ to get it done now.
Comment #5
floretan commentedMarking this as a duplicate of #365597: logging in from user/login shows "Access denied" after login. Bugs get fixed in D7 and are then backported to previous version.