{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-apis/authentication/openapi.yaml","sidebar":"sidebar-apis/sidebars.yaml"},"props":{"definitionId":"apis/authentication/openapi.yaml","settings":{"baseUrlPath":"/apis/authentication/openapi"},"disableAutoScroll":true,"seo":{"title":"OMNO Authentication Documentation","siteUrl":"https://docs.omno.com"},"dynamicMarkdocComponents":[],"metadata":{"type":"openapi","title":"OMNO Authentication Documentation","version":"1.0.0","description":"## Overview\nThis API provides authentication services for OMNO.\nThe service supports OAuth2 token issuance using the client credentials flow for secure\nserver-to-server communication.\n\n## Authentication Flow\n1. Register your application to obtain client credentials (client_id and client_secret)\n2. Request an access token using the client credentials grant type\n3. Use the returned access token in the Authorization header for subsequent API calls\n\n## Obtaining Client Credentials\n\n### Production Environment\n1. Navigate to [https://cockpit.omno.com/developers/api-credentials](https://cockpit.omno.com/developers/api-credentials)\n2. Log in with your OMNO account credentials if prompted\n3. Click on \"Create Token\"\n4. Fill in the required information:\n   - Token name: Provide a descriptive name for your api token\n   - Whitelisted IPs: add you IPs or use '*' to allow all IPs\n5. Submit the form to create your credentials\n6. The system will generate and display your client_id and client_secret\n7. Store these credentials securely as the client_secret may not be displayed again\n\n## Security Best Practices\n- Store client secrets securely and never expose them in client-side code\n- Implement proper token validation on your services\n- Be aware of token expiration and implement renewal strategies\n- Use HTTPS for all communications\n\n## Support\nFor assistance with authentication issues, contact our support team at [support@omno.com](mailto:support@omno.com)\n"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.omno.com","port":4000,"ipAddress":"216.73.217.108"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/apis/authentication/openapi","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}