https://github.com/gadicc/meteor-cross-domain-login
User remains logged in on same site across multiple domains
https://github.com/gadicc/meteor-cross-domain-login
Last synced: 12 months ago
JSON representation
User remains logged in on same site across multiple domains
- Host: GitHub
- URL: https://github.com/gadicc/meteor-cross-domain-login
- Owner: gadicc
- Created: 2013-09-19T23:04:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-19T23:24:38.000Z (over 12 years ago)
- Last Synced: 2025-02-17T21:19:10.990Z (over 1 year ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cross-domain-login for Meteor
By default, even if your Meteor app is accessible from multiple
domains (or subdomains of a single domain), each hostname will
require a separate login (albeit with the same login credentials).
The cross-domain-login package will allow a user to access your
app through any available hostname/domain and remain logged in
throughout. There is slightly more of a delay than usual since
an extra http request is required to remain within the confines
of browser security.
This is PROOF OF CONCEPT, not a final package.
It works, but the intended audience is other
developers, and should not be used on production websites.
(yet)
Notably:
* Security policies are in place but have not been reviewed
* Only retrieves the login data from ROOT_URL, and does not
(yet) save logins from other hosts back to the root.
* Always retrieves if on different domain, not only if
the login credentials are missing.
* I finally have a reason to implement callbacks in
meteor-headers :) Coming soon.