Skip to main content
Glama

DHIS2 MCP Server

by Dradebo

dhis2_setup_authentication_patterns

Create and configure authentication patterns for DHIS2 apps, supporting basic, OAuth2, cookie, and token-based methods. Manage session settings, security features, and redirect URLs for secure user access.

Instructions

Generate authentication patterns and examples for DHIS2 app

Input Schema

NameRequiredDescriptionDefault
authTypeYesType of authentication to implement
providersNoAuthentication providers to support
redirectUrlsNo
securityFeaturesNo
sessionManagementNo

Input Schema (JSON Schema)

{ "properties": { "authType": { "description": "Type of authentication to implement", "enum": [ "basic", "oauth2", "cookie", "token" ], "type": "string" }, "providers": { "description": "Authentication providers to support", "items": { "enum": [ "dhis2", "google", "facebook", "custom" ], "type": "string" }, "type": "array" }, "redirectUrls": { "properties": { "failure": { "description": "Redirect URL after failed login", "type": "string" }, "logout": { "description": "Redirect URL after logout", "type": "string" }, "success": { "description": "Redirect URL after successful login", "type": "string" } }, "type": "object" }, "securityFeatures": { "properties": { "csrfProtection": { "description": "Enable CSRF protection", "type": "boolean" }, "httpOnly": { "description": "Use httpOnly cookies", "type": "boolean" }, "secure": { "description": "Use secure cookies (HTTPS only)", "type": "boolean" } }, "type": "object" }, "sessionManagement": { "properties": { "refreshTokens": { "description": "Enable refresh token handling", "type": "boolean" }, "rememberUser": { "description": "Enable remember user functionality", "type": "boolean" }, "timeout": { "description": "Session timeout in minutes", "type": "number" } }, "type": "object" } }, "required": [ "authType" ], "type": "object" }

Other Tools from DHIS2 MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dradebo/dhis2-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server