Sha256: f06f423456ad4cd56f1dbb4503477906684ea4324fdd399adeebaa4593b298ea

Contents?: true

Size: 1.63 KB

Versions: 14

Compression:

Stored size: 1.63 KB

Contents

# The main title of your website
# The default is "Demo Site"
PandaCms.title = "Demo Site"
# The path to the administration panel, which must start with a /
# The default is "/admin"
PandaCms.admin_path = "/admin"
# Is login required to access the site?
PandaCms.require_login_to_view = false
# Authentication providers
PandaCms.authentication = {
  microsoft: {
    enabled: false,
    # Setup at the following URL:
    # https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade
    client_id: Rails.application.credentials.dig(:microsoft, :client_id),
    client_secret: Rails.application.credentials.dig(:microsoft, :client_secret),
    # Don't change this or the sky will fall on your head
    # https://github.com/synth/omniauth-microsoft_graph/tree/main?tab=readme-ov-file#domain-verification
    skip_domain_verification: false,
    # If your application is single-tenanted, replace "common" with your tenant (directory) ID
    # from https://portal.azure.com/#settings/directory, otherwise you'll likely want to leave
    # these settings unchanged
    client_options: {
      site: "https://login.microsoftonline.com/",
      token_url: "common/oauth2/v2.0/token",
      authorize_url: "common/oauth2/v2.0/authorize"
    },
    # If you assign specific users or groups, you will likely want to set this to true to enable
    # auto-provisioning
    create_account_on_first_login: true
  },
  google: {
    enabled: false,
    create_account_on_first_login: true,
    create_admin_account_on_first_login: false
  },
  github: {
    enabled: true,
    create_account_on_first_login: true,
    create_admin_account_on_first_login: false
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
panda_cms-0.3.5 config/initializers/panda_cms.rb
panda_cms-0.3.4 config/initializers/panda_cms.rb
panda_cms-0.3.3 config/initializers/panda_cms.rb
panda_cms-0.3.2 config/initializers/panda_cms.rb
panda_cms-0.3.1 config/initializers/panda_cms.rb
panda_cms-0.3.0 config/initializers/panda_cms.rb
panda_cms-0.2.7 config/initializers/panda_cms.rb
panda_cms-0.2.6 config/initializers/panda_cms.rb
panda_cms-0.2.5 config/initializers/panda_cms.rb
panda_cms-0.2.4 config/initializers/panda_cms.rb
panda_cms-0.2.3 config/initializers/panda_cms.rb
panda_cms-0.2.2 config/initializers/panda_cms.rb
panda_cms-0.2.1 config/initializers/panda_cms.rb
panda_cms-0.2.0 config/initializers/panda_cms.rb