Giter Site home page Giter Site logo

Cookie domain about angular-drupal HOT 3 OPEN

OpenEyeNet avatar OpenEyeNet commented on July 19, 2024
Cookie domain

from angular-drupal.

Comments (3)

webdobe avatar webdobe commented on July 19, 2024

Yes. That when calling drupal.connect(); It will auto authenticate using the cookie_domain.

from angular-drupal.

signalpoint avatar signalpoint commented on July 19, 2024

@OpenEyeNet and @webdobe Did you need the cookie_domain because your Drupal site and your app are running in different domains? Or did you need cookie_domain even when they are running in the same domain?

Also, are you both working with D7 and/or D8 here? I need to wrangle all these cookie/login/cors/subdomain issues folks are having, and get things under control for both D7 and D8.

from angular-drupal.

webdobe avatar webdobe commented on July 19, 2024

So my setup is I have the main domain as the drupal 7 site. But I have a few different silo apps. That I want to be able to share users across domains. This is where the cookie_domain came in. So if someone logs in at one site.. They will be logged into all of them. After I got all the CORS stuff straight, I didn't have to modify anything in angular-drupal. So I have a feeling that all peoples issues stem from CORS.

I posted what I did @ ##2

I plan on taking the D8 version through a development cycle next so. I will be able to give feedback on that then. Really liking angular and headless drupal.

from angular-drupal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.