{"record":{"id":"c08646afcae69354","repo":"CanineHQ/canine","slug":"account-does-not-support-ldap-authentication","errorCode":null,"errorMessage":"Account does not support LDAP authentication","messagePattern":"Account does not support LDAP authentication","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/devise/strategies/ldap_authenticatable.rb","lineNumber":95,"sourceCode":"      def username\n        params[:user][:username]\n      end\n\n      def password\n        params[:user][:password]\n      end\n\n      private\n\n      def find_ldap_configuration\n        account = Account.friendly.find(params[:slug])\n        unless account.sso_enabled?\n          raise 'SSO is not enabled for this account'\n        end\n\n        sso_provider = account.sso_provider\n        unless sso_provider.ldap?\n          raise 'Account does not support LDAP authentication'\n        end\n\n        sso_provider.configuration\n      end\n    end\n  end\nend\n","sourceCodeStart":77,"sourceCodeEnd":103,"githubUrl":"https://github.com/CanineHQ/canine/blob/ba4ee3968d8513ee27d8583fbd3e854a8dd053f3/lib/devise/strategies/ldap_authenticatable.rb#L77-L103","documentation":"Error \"Account does not support LDAP authentication\" thrown in CanineHQ/canine.","triggerScenarios":"Thrown at lib/devise/strategies/ldap_authenticatable.rb:95 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"ba4ee3968d8513ee27d8583fbd3e854a8dd053f3","analyzedAt":"2026-08-23T17:49:27.834Z","schemaVersion":2},"datasetVersion":"2026-08-23T21:17:23.414Z"}