https://github.com/authentiqid/meteor-accounts-authentiq
MeteorJS Accounts package for Authentiq
https://github.com/authentiqid/meteor-accounts-authentiq
Last synced: 7 days ago
JSON representation
MeteorJS Accounts package for Authentiq
- Host: GitHub
- URL: https://github.com/authentiqid/meteor-accounts-authentiq
- Owner: AuthentiqID
- License: mit
- Created: 2016-07-20T08:56:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-21T14:20:45.000Z (almost 10 years ago)
- Last Synced: 2025-02-24T03:44:55.146Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# meteor-accounts-authentiq
Authentiq service for use with Meteor Accounts.
### Setup
1. Create an Authentiq Client ID at [Authentiq Dashboard](https://dashboard.authentiq.com/).
2. Go to your application and configure the login service from server-side code:
~~~js
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](http://docs.meteor.com/#accountsui) to handle login experience, or directly call:
~~~js
Meteor.loginWithAuthentiq();
~~~
> You can find useful info about the Meteor Accounts API from [here](http://docs.meteor.com/#accounts_api).
### Package Dependencies
* accounts-base
* accounts-oauth
### Credits
Closely based on the [accounts-google package](https://github.com/meteor/meteor/tree/master/packages/accounts-google).