Skip to content

Latest commit

 

History

History

spp_oauth

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenSPP API: Oauth

Alpha License: LGPL-3 OpenSPP/openspp-modules

OpenSPP API: Oauth

Overview

The spp_oauth module provides authentication functionality for the OpenSPP API. It allows external applications and services to securely access and interact with OpenSPP data and functionalities using industry-standard OAuth 2.0 protocols.

Purpose

This module serves as the central authentication hub for the OpenSPP API, ensuring secure and controlled access to sensitive program data. It enables:

  • Secure Authentication: Utilizes OAuth 2.0 standards to authenticate API requests, protecting against unauthorized access.
  • Token-Based Access: Grants access tokens to authorized applications, allowing them to make API calls on behalf of users or with specific permissions.
  • API Security: Enforces authentication and authorization rules for all incoming API requests, preventing unauthorized data access and manipulation.

Dependencies

  • base: The spp_oauth module inherits basic Odoo functionalities from the core base module.

Functionality and Integration

While the spp_oauth module doesn't introduce new user interfaces or data models, it works behind the scenes to secure the OpenSPP API. Here's how it integrates:

  1. API Endpoints: Other OpenSPP modules that expose API endpoints will depend on spp_oauth to handle the authentication and authorization of incoming API requests.
  2. OAuth 2.0 Flows: This module implements various OAuth 2.0 flows, enabling different application types to authenticate and obtain access tokens. This could include client credentials flow for machine-to-machine communication or authorization code flow for user-authorized access.
  3. Token Management: spp_oauth manages the lifecycle of access tokens, including generation, validation, and revocation, ensuring that only valid tokens can access protected resources.

Conclusion

The spp_oauth module plays a crucial role in securing the OpenSPP ecosystem by providing robust authentication and authorization mechanisms for the OpenSPP API. It ensures that only authorized applications and users can access and interact with sensitive social protection program data.

Important

This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

Table of contents

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • OpenSPP.org

Maintainers

Current maintainers:

jeremi gonzalesedwin1123 reichie020212

This module is part of the OpenSPP/openspp-modules project on GitHub.

You are welcome to contribute.