Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 762 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 762 Bytes

Ember CLI Torii Provider for FranceConnect

Torii Provider for franceconnect.gouv.fr wrapped as an Ember-CLI Addon

Installtion

  • ember install torii
  • ember install Semeia-io/torii-provider-franceconnect

Configuration

Edit /config/environment.js to add your Torii provider configuration.

You can use ember-cli-dotenv to avoid commiting credentials to git.

module.exports = function(environment) {
  var ENV = {

   // ... other ENV config stuff here

   torii:{
      providers: {
        'franceconnect-oauth2': {
          clientId: process.env.FRANCECONNECT_CLIENT_ID,
          scope: 'openid identite_pivot',
          nonce: 'test'
        }
      }
    }
  };

  return ENV;
};