AuthentiqID / meteor-accounts-authentiq

MeteorJS Accounts package for Authentiq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

meteor-accounts-authentiq

Authentiq service for use with Meteor Accounts.

Setup

  1. Create an Authentiq Client ID at Authentiq Dashboard.
  2. Go to your application and configure the login service from server-side code:
ServiceConfiguration.configurations.remove({ service: 'authentiq' });
ServiceConfiguration.configurations.insert({
  service:      'authentiq',
  // baseUrl:       '{YOUR_AUTHENTIQ_DOMAIN}',     // for development purposes or on-premise installations
  clientId:     '{YOUR_AUTHENTIQ_CLIENT_ID}',
  clientSecret: '{YOUR_AUTHENTIQ_CLIENT_SECRET}'
});

ServiceConfiguration.configurations is exported by the service-configuration package:

meteor add service-configuration

Usage

  1. meteor add authentiqid:accounts-authentiq
  2. Use accounts-ui to handle login experience, or directly call:
Meteor.loginWithAuthentiq();

You can find useful info about the Meteor Accounts API from here.

Package Dependencies

  • accounts-base
  • accounts-oauth

Credits

Closely based on the accounts-google package.

About

MeteorJS Accounts package for Authentiq

License:MIT License


Languages

Language:JavaScript 89.4%Language:HTML 9.8%Language:CSS 0.8%