Apigee Edge Drupal Developer Portal - Developer Redirect Setting on login doesn't work - Any one see same ?

Apigee Edge Developer Portal based on Drupal exposes a setting to admin where admin can configure the URL to which user will be redirected once login using "admin/config/devconnect/user-settings" admin screen.

Above setting doesn't work, User will be redirected to the page he clicked login popup in menu bar instead of the configured link in above admin screen. It works only if user logs in from "/user/login" page. Anyone see same issue ?

Solved Solved
0 1 549
1 ACCEPTED SOLUTION

I believe it's a bug, By default, User Login Popup form sets ?destination={CURRENT_URL} as param & Drupal core gives top priority while redirecting to page when above param is set.

You need to override above query param to make sure "admin/config/devconnect/user-settings" setting works as expected.

You can use below attached module to make it work. Instructions to install module below,

custom-dc-user.zip

  • Unzip
  • Place module in sites/all/modules/custom
  • Navigate to "admin/modules"
  • Enable the module

View solution in original post

1 REPLY 1

I believe it's a bug, By default, User Login Popup form sets ?destination={CURRENT_URL} as param & Drupal core gives top priority while redirecting to page when above param is set.

You need to override above query param to make sure "admin/config/devconnect/user-settings" setting works as expected.

You can use below attached module to make it work. Instructions to install module below,

custom-dc-user.zip

  • Unzip
  • Place module in sites/all/modules/custom
  • Navigate to "admin/modules"
  • Enable the module