Closed (cannot reproduce)
Project:
Bakery Single Sign-On System
Version:
7.x-2.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2012 at 14:46 UTC
Updated:
17 Dec 2012 at 16:47 UTC
I am getting a permission denied both for registering (/bakery) and login (/bakery/login) on the slave site.
Looking at the code, it looks like bakery_taste_oatmeal_cookie() is returning false instead of a cookie.
I have tried applying the patch at #1546034: Registering for an account on a slave site does not work at all but I got the same result.
Login on master site works fine and creates the slave account on landing, and pulling users from master to slave works fine too. I believe I set my seetings and cookie domains properly.
The OATMEAL cookie seems right:
Name: OATMEAL
Value: Z2hv4h6k4kLWbfEss1yfiURpRhRGgibb9hbQ%2Ba....
Host: .dev.domain.es
Path: /
Expires: Fri, 18 May 2012 15:02:23
(not session cookie)
(not secure cookie)
Config on the slave
bakery_domain: ".dev.domain.es"
bakery_freshness: "3600"
bakery_help_text: "Otherwise you can contact the site administrators."
bakery_is_master: 0
bakery_key: "A"
bakery_master: "http://dev.domain.es/"
bakery_slaves: Array
(
[0] => http://tienda7.dev.domain.es/
)
bakery_supported_fields: Array
(
[name] => name
[mail] => mail
[status] => status
[picture] => 0
[language] => 0
[signature] => 0
)
Config on master
bakery_is_master: 1
bakery_master: "http://dev.domain.es/"
bakery_slaves: Array
(
[0] => http://tienda7.dev.domain.es/
)
bakery_help_text: "Otherwise you can contact the site administrators."
bakery_freshness: "3600"
bakery_key: "A"
bakery_domain: ".dev.domain.es"
bakery_supported_fields: Array
(
[name] => name
[mail] => mail
[status] => status
[picture] => 0
[language] => 0
[signature] => 0
[timezone] => 0
)
Comments
Comment #1
esclapes commentedJust realized that our master site is pressflow 6 based.
I am closing becauser with a vanilla install seems to work OK, errors are probably caused by customization.
Comment #2
mrconnerton commentedDid you ever come to a solution to this? I am having the same problem with the same setup.