{"record":{"id":"0482fa380840bd41","repo":"CanineHQ/canine","slug":"sso-is-not-enabled-for-this-account","errorCode":null,"errorMessage":"SSO is not enabled for this account","messagePattern":"SSO is not enabled for this account","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/devise/strategies/ldap_authenticatable.rb","lineNumber":90,"sourceCode":"      rescue => e\n        Rails.logger.error \"LDAP auth: unexpected error in Devise strategy - #{e.class}: #{e.message}\"\n        fail(:invalid_login)\n      end\n\n      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":72,"sourceCodeEnd":103,"githubUrl":"https://github.com/CanineHQ/canine/blob/ba4ee3968d8513ee27d8583fbd3e854a8dd053f3/lib/devise/strategies/ldap_authenticatable.rb#L72-L103","documentation":"Error \"SSO is not enabled for this account\" thrown in CanineHQ/canine.","triggerScenarios":"Thrown at lib/devise/strategies/ldap_authenticatable.rb:90 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"}