LIneA SATOSA proxy configuration and documentation
This plugin enables account linking between identity providers and COmanage Registry through SATOSA proxy.
- Add the plugin files to your SATOSA installation:
cp plugins/microservices/comanage_account_linking.py /path/to/satosa/plugins/microservices/
- Add the microservice configuration to your SATOSA proxy configuration file:
MICRO_SERVICES:
- module: satosa.micro_services.comanage_account_linking.COmanageAccountLinkingMicroService
name: COmanageAccountLinking
config:
api_url: "https://registry.example.org/api"
api_user: "api_username"
password: "api_password"
target_backends:
- name: "oidc"
- name: "saml2"
prefix: "custom_saml2"
co_id: "2"
api_url
: COmanage Registry API base URLapi_user
: COmanage API usernamepassword
: COmanage API passwordtarget_backends
: List of SATOSA backends to enable account linkingco_id
: COmanage Organization ID
The plugin will:
- Automatically create/retrieve COmanage users during authentication
- Manage group memberships between identity providers and COmanage
- Handle account linking across configured backends
The plugin includes several error classes for specific scenarios:
COmanageAPIError
: API communication issuesCOmanageUserError
: User-related errorsCOmanageGroupsError
: Group management errorsCOmanageAccountLinkingError
: General account linking errors
The plugin is designed to be extensible. Key classes:
COmanageAPI
: Handles API communicationCOmanageUser
: Manages user information and statusCOmanageAccountLinkingMicroService
: Main plugin logic