{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/fr/products/leandisposable/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Authentication","description":"Integration and usage documentation."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"authentication","__idx":0},"children":["Authentication"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To use Lean Disposable API methods, you must always authenticate with:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client authentication"]}," using the SSL certificate provided by Namirial support portal"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Basic authentication"]}," using the credentials provided by Namirial support portal"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Both are required for every request."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All requests must include the following header:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"Content-Type: application/json\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting-authentication-issues","__idx":1},"children":["Troubleshooting Authentication Issues"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Common authentication errors and solutions:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Error"},"children":["Error"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"HTTP Status"},"children":["HTTP Status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Solution"},"children":["Solution"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["11001"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No response (TLS handshake failure)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Client authentication failed. Verify that you are using the correct SSL certificate for the target environment."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["11002"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["500"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Basic authentication failed. Verify that you are using the correct credentials for the target environment. See the example below (basic authentication failed)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["11002"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["500"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The authenticated user is not authorized to call this method for the specified LRA. Contact Namirial support to verify your account permissions. See the example below (not authorized)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["15000"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["500"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["On-behalf-of not valid. Verify the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["on-behalf-of"]}," header value or contact Namirial support."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example basic authentication failed:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 11002,\n  \"message\": \"Wrong username or password\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example method not authorized:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 11002,\n  \"message\": \"Unauthorized user to call webmethod validateOtp\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-to-get-api-credentials","__idx":2},"children":["How to get API credentials"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Submit a request through the Namirial support portal."]}]},"headings":[{"value":"Authentication","id":"authentication","depth":1},{"value":"Troubleshooting Authentication Issues","id":"troubleshooting-authentication-issues","depth":2},{"value":"How to get API credentials","id":"how-to-get-api-credentials","depth":2}],"frontmatter":{"seo":{"title":"Authentication"}},"lastModified":"2026-03-03T22:50:01.000Z","isTranslationFallback":true,"pagePropGetterError":{"message":"","name":""}},"slug":"/fr/products/leandisposable/enterprise-documentation/developer-documentation/authentication","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}