backdrop-contrib / bakery

Allows for single sign-on between Backdrop sites on the same domain.
GNU General Public License v2.0
1 stars 3 forks source link

Access denied to /bakery/login after logged out from slave when still logged in to master. #5

Open klonos opened 7 years ago

klonos commented 7 years ago

Respective d.org issue: https://www.drupal.org/node/1945936

STR:

  1. Login to backdropcms.org
  2. Try to log in to api.backdropcms.org or forum.backdropcms.org -> 👎 fails: redirected to https://backdropcms.org/bakery/login with access denied (with user still logged in).
  3. Log out from backdropcms.org
  4. Try to log in to api.backdropcms.org or forum.backdropcms.org -> 👍 success
  5. Head back to backdropcms.org (or refresh the page if you kept it open in a different browser tab) -> you are logged in again.
klonos commented 7 years ago

The redirection to https://backdropcms.org/bakery/login and access denied should be fixed by https://www.drupal.org/node/1965634 and from what I see the specific code is in place in the Backdrop port of the module: https://github.com/backdrop-contrib/bakery/blob/1.x-1.x/bakery.module#L939 so, I should be redirected to the front page on backdropcms.org instead of https://backdropcms.org/bakery/login.