This is a Clever Instant Login provider for Torii.
ember install torii
ember install torii-clever
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:
Option | Required | Description |
---|---|---|
clientId | x | Client ID of your app |
redirectUri | x | Redirect URI of the app for the authentication response |
districtId | District ID |
git clone <repository-url>
cd torii-clever
npm install
npm run lint:js
npm run lint:js -- --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versions
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.
Created and maintained by Yoran Brondsema from Sutori.