Sha256: c7f1a46544a10b3fc416af8095bbdbacb270d9140c2187e7194b71e023e3079b

Contents?: true

Size: 666 Bytes

Versions: 3

Compression:

Stored size: 666 Bytes

Contents

# frozen_string_literal: true

cert_path = Rails.application.root.join("config", "cert")

Decidim::Suomifi.configure do |config|
  config.scope_of_data = :medium_extensive
  # Define the service provider entity ID included in the Suomi.fi metadata:
  # config.sp_entity_id = "https://www.example.org/users/auth/suomifi/metadata"
  # Or define it in your application configuration and apply it here:
  # config.sp_entity_id = Rails.application.config.suomifi_entity_id
  config.certificate_file = "#{cert_path}/suomifi.crt"
  config.private_key_file = "#{cert_path}/suomifi.key"
  # Enable automatically assigned emails
  config.auto_email_domain = "example.org"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-suomifi-0.19.0 lib/generators/templates/suomifi_initializer.rb
decidim-suomifi-0.18.1 lib/generators/templates/suomifi_initializer.rb
decidim-suomifi-0.18.0 lib/generators/templates/suomifi_initializer.rb