Hi there -
Overall, the system is working great... I can log in with Facebook or Google easily and new Drupal users are created with a specific role (with specific permissions).
One of these permissions is the ability to view/edit their own CIviCRM contact record (name and address) on the Drupal user page. When a user logs in for the first time (and a Drupal user record is created for the first time), they can view and edit this information. However once that user logs out and then logs back in, they can no longer view or edit (trying to edit give me the following error: "You do not have permission to edit this contact record. Contact the site administrator if you need assistance.")
I have tested that the specific role permissions are correct by creating a Drupal user by hand with the same role as above. This user is able to view/edit the contact record each time with no issue.
I have verified that the Drupal UID is consistent each time the user logs in via OneAll and that same UID is present on the CiviCRM contact record (i.e. they are tied to together as the should be).
Can you shed any light on this issue? Is there something about the user that logs in via OneAll that is not exactly the same as the one that logs in via the traditional Drupal login form? If I cannot solve this issue, I fear i will need to look for an alternate social log in method (which I do NOT want to do - I quite like OneAll).
UPDATE - I am relatively certain that what is happening is the code used to log in *existing* users is not allowing CiviCRM to set up a session - while the initial login code *does*. I am looking through the code to see if I can spot the difference - any assistance in this is MUCh appreciated.
Let me know if I can provide another details!
Thanks in advance,