Skip to Content

API CORS Config

by

83.95

18.0 0
Live Preview
Required Apps Discuss (mail)
Community Apps Dependencies api_framework_base
ekika_utils
ekika_widgets
Technical Name api_cors_config
License OPL-1
Also available in version 18.0 17.0
You bought this module and need support ? Click here!
Technical Name api_cors_config
License OPL-1
Also available in version v 18.0 v 17.0

Introduction

Securely connect your web applications to Odoo with the API CORS Configuration module. This essential tool simplifies the management of Cross-Origin Resource Sharing (CORS), a critical security feature for modern web development. By allowing you to define and manage your CORS policies directly within Odoo, this module ensures that your API can be safely accessed by authorized web applications from different domains. It is a must-have for any developer building headless Odoo applications, single-page applications (SPAs), or any web-based integration that requires cross-origin API requests.

Key Features

  • Centralized CORS Management: Configure and manage all your CORS policies from a single, user-friendly interface within Odoo.

  • Define Allowed Origins: Specify which domains are allowed to make cross-origin requests to your Odoo API.

  • Control Allowed Methods and Headers: Define the allowed HTTP methods (GET, POST, PUT, etc.) and headers for cross-origin requests.

  • Preflight Request Handling: The module handles preflight OPTIONS requests automatically, ensuring seamless communication between the browser and your Odoo server.

  • Enhanced Security: Protect your Odoo instance from unauthorized cross-origin requests and potential security vulnerabilities.

  • Easy Integration: Simple to install and configure, with no complex setup required.

Benefits

  • Secure API Integrations: Build secure and reliable integrations with external web applications and services.

  • Enable Modern Web Development: A fundamental requirement for building modern, decoupled web applications with Odoo as the backend.

  • Improved Security Posture: Strengthen the security of your Odoo instance by implementing a robust and well-defined CORS policy.

  • Simplified Development: Streamline the development process by providing a simple and effective way to manage CORS.

  • Greater Flexibility: Gain the flexibility to securely connect your Odoo API with a wide range of web applications and services.

Compatibility & Technical Details

  • Required Modules: Discuss (mail)

  • License: OPL-1

  • Technical Name: api_cors_config

  • Installation: To install this module, add the module folder to your Odoo addons path. From the Apps menu in developer mode, update the app list and click on the "Install" button.

Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0
Community
Enterprise

https://www.ekika.co/support

API CORS Configuration

Introduction

Cross-Origin Resource Sharing (CORS) is a security feature implemented by web browsers to allow or restrict web pages from making requests to a different domain than the one that served the web page. This mechanism is crucial for maintaining the security of web applications by controlling how resources are shared across different origins.

API CORS Configurator empowers you to seamlessly integrate APIs across different domains. By configuring CORS policies accurately, you ensure that your applications can securely access resources from disparate origins, fostering a more interconnected and efficient ecosystem.

CORS Configurator simplifies this process, offering a user-friendly interface to configure CORS policies with ease with APIs. With just a few clicks, developers can define allowed origins, ensuring secure access to resources across different domains and fostering a more interconnected and efficient ecosystem.

How CORS Works

  1. Simple Requests : Some requests are classified as simple if they meet certain criteria (e.g., using HTTP methods like GET, POST, HEAD with certain headers).
  2. Preflight Requests : For requests that are not simple (e.g., using methods like PUT or DELETE, or custom headers), the browser sends a preflight request (an OPTIONS request) to the server to check if the actual request is safe to send.

Configuring CORS Origin

Icon Configuring Fixed Origins

API Resource Access Configure Image

Icon Configuring All/Wildcard Origins

API Resource Access Configure Image

Frequently Asked Questions (FAQs)

Find answers of common questions you might have about this addon. If you don't see your question addressed here, feel free to contact us!

Contact Us:

  • Whats App / Phone: +919510031431 -- URGENT
  • EMail: [email protected]
  • Skype: amshukla17
  • Website: https://ekika.co
  • Support Ticket: https://ekika.co/support -- Get Notifications of Progress.
  • 24 x 7 Available! Contact us NOW.

We love hearing your ideas for improvement! If you have a feature in mind that would make your Odoo experience even better, simply contact us. We're happy to discuss your needs and explore the best way to implement them.

We offer a wide range of Odoo services to help you at any stage, from initial setup ("implementation") to ongoing customization and support. This includes:

  • Adding new features and functionalities ("addons development")
  • Changing behaviour of whole system ("server and structure level changes")
  • Server maintenance and configuration changes ("nginx / filestores / size issues etc.")
  • Integration with other systems
  • RESTful APIs, WebHooks, Slave-Master DB, Real-time data communication ("socket connection") etc.
  • Improving app performance and user experience ("performance tuning" and "UI/UX design")
  • Secure and reliable managed hosting solutions
  • Annual maintenance contracts to keep your Odoo running smoothly and so much more...

Basically, we're your one-stop shop for all things Odoo! We offer premium services at competitive rates.

Need Help?

EKIKA Has Your Back - 24/7 Support.

We're just a message away, no matter the time zone.

90 Days Free Support

We understand that even with great documentation, you might have questions or need additional assistance. That's why we offer exceptional support.

https://ekika.co/api
Documentation & User Guide
(copy link to clipboard)
https://www.youtube.com/@ekika_co/videos
Video Guide
(copy link to clipboard)
https://ekika.co/support
Support
(copy link to clipboard)

Services EKIKA Provides

EKIKA is your destination for expert Odoo ERP implementation and customization. We pride ourselves on building reliable, trust-based partnerships that give you full transparency and control over your business processes.

With over 12 years of experience, we can assist you with eCommerce platforms, production planning, point-of-sale systems, managing inventory adjustments, and providing advanced field worker tracking solutions to optimize your workflows and boost operational efficiency.

Ekika Odoo Implementation

Implementation

Utilise Odoo ERP tailored for your business needs for smooth operations.

Ekika Odoo Customization

Customization

Personalized adjustments to Odoo modules for seamless management.

Ekika Odoo Support

Support

Ongoing assistance and maintenance to optimize your Odoo system's performance.

Are you struggling with disorganized operations, high operational costs, or lack of transparency in your processes? What sets us apart is our commitment to personalized solutions tailored to your unique business needs and our proactive support, ensuring seamless integration and ongoing success.

Would you like to explore Odoo ERP for your business? Schedule a free consultation with EKIKA today!

Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.