Skip to content

Latest commit

 

History

History
47 lines (42 loc) · 924 Bytes

README.md

File metadata and controls

47 lines (42 loc) · 924 Bytes

meteor-accounts-linkedin

A meteor package for LinkedIn's login service.

Install

meteor add yellowsquare:accounts-linkedin

Configure

meteor add service-configuration

In your imports/startup/server/index.js file:

var oauth = Meteor.settings.private.oauth;
ServiceConfiguration.configurations.upsert(
    {service: oauth.serviceName},
    {
        $set: {
            clientId: oauth.clientId,
            loginStyle: oauth.loginStyle,
            secret: oauth.secret
        }
    }
);

In your configuration (settings.json) :

"private" : {
    "oauth" :
        {
            "serviceName" : "linkedin",
            "clientId"    : "",
            "secret"      : "",
            "loginStyle"  : "popup"
        }
}

License

MIT