Plaid Link for your Ember app
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon
app
config
tests
vendor
.bowerrc
.editorconfig
.ember-cli
.gitignore
.jshintrc
.npmignore
.travis.yml
Brocfile.js
LICENSE.md
README.md
bower.json
index.js
package.json
testem.json

README.md

ember-plaid

Plaid's drop-in Link module as an Ember component.

Installation

# From within your ember-cli project
ember install ember-plaid

Configuration

// config/environment.js
ENV['ember-plaid'] = {
  clientName: 'REQUIRED',
  product: 'auth',
  key: 'test_key',
  env: 'tartan'
};

Check the Link Docs for all of the parameter options.

Usage

{{plaid-link action='processPlaidToken'}}

{{!-- Or --}}

{{#plaid-link action='processPlaidToken'}}Verify Bank Account{{/plaid-link}}

Once a user has successfully onboarded via Plaid Link, the provided action will be called with the public_token passed as the sole argument. From there, you should follow the instructions for exchanging the public_token for an access_token.

Once you have the public_token, you can use it to initialize plaid-link component in "update mode". Update mode allows the user to update Plaid when they change their online-banking credentials or MFA.

{{plaid-link 
  action='processPlaidToken' 
  token=$public_token}}

{{!-- Or --}}

{{#plaid-link 
  action='processPlaidToken' 
  token=$public_token}}Verify Bank Account{{/plaid-link}}