Skip to content

51smith/meteor-shared-auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Shared Auth

For situations where you have multiple meteor applications running on separate domains but which share the same database, this package allows you to share the logged-in state among the applications -- e.g. if I log in to one, I will be automatically logged in to the other.

All of the meteor applications must use Meteor.settings, and define the public setting sharedAuthDomains, e.g.:

// settings.json
{
    "public": {
        "sharedAuthDomains": ["http://example.com", "http://example2.com"]
    }
}

Each application will attempt to share its logged-in (or logged out) state with each of the listed domains.

Install

Install with:

meteor add admithub:shared-auth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.2%
  • HTML 3.8%