CanineHQ/canine · error

SSO is not enabled for this account

Error message

SSO is not enabled for this account

What it means

Error "SSO is not enabled for this account" thrown in CanineHQ/canine.

Source

Thrown at lib/devise/strategies/ldap_authenticatable.rb:90

      rescue => e
        Rails.logger.error "LDAP auth: unexpected error in Devise strategy - #{e.class}: #{e.message}"
        fail(:invalid_login)
      end

      def username
        params[:user][:username]
      end

      def password
        params[:user][:password]
      end

      private

      def find_ldap_configuration
        account = Account.friendly.find(params[:slug])
        unless account.sso_enabled?
          raise 'SSO is not enabled for this account'
        end

        sso_provider = account.sso_provider
        unless sso_provider.ldap?
          raise 'Account does not support LDAP authentication'
        end

        sso_provider.configuration
      end
    end
  end
end

View on GitHub (pinned to ba4ee3968d)

When it happens

Trigger: Thrown at lib/devise/strategies/ldap_authenticatable.rb:90 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of CanineHQ/canine@ba4ee3968d (2026-08-23). Data as JSON: /api/errors/0482fa380840bd41. Report an issue: GitHub.