1.0.4 • Published 4 years ago

torii-clever v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

torii-clever

This is a Clever Instant Login provider for Torii.

Installation

ember install torii
ember install torii-clever

Usage

Edit /config/environment.js and add your Torii provider configuration:

module.exports = function(environment) {
  // ...

  ENV['torii'] = {
    providers: {
      'clever': {
        clientId: 'Clever client ID',
        redirectUri: 'http://localhost:4200/torii/redirect.html',
        districtId: 'Clever district ID'
      }
    }
  };

  // ...
};

Options that can be configured:

OptionRequiredDescription
clientIdxClient ID of your app
redirectUrixRedirect URI of the app for the authentication response
districtIdDistrict ID

Contributing

Installation

  • git clone <repository-url>
  • cd torii-clever
  • npm install

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

License

This project is licensed under the MIT License.


Created and maintained by Yoran Brondsema from Sutori.

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago