dhis2_debug_authentication
Identify and resolve DHIS2 authentication issues such as login failures, session timeouts, cookie problems, and token errors by analyzing instance configurations, error details, and browser settings.
Instructions
Debug authentication issues including login failures, session management, and cookie problems
Input Schema
Name | Required | Description | Default |
---|---|---|---|
authMethod | Yes | Authentication method being used | |
browserSettings | No | ||
dhis2Instance | Yes | DHIS2 instance URL | |
errorDetails | No | ||
issueType | Yes | Type of authentication issue |
Input Schema (JSON Schema)
{
"properties": {
"authMethod": {
"description": "Authentication method being used",
"enum": [
"basic",
"oauth2",
"cookie",
"token"
],
"type": "string"
},
"browserSettings": {
"properties": {
"cookiesEnabled": {
"description": "Are cookies enabled",
"type": "boolean"
},
"sameSiteSettings": {
"description": "Current SameSite cookie settings",
"type": "string"
},
"thirdPartyCookies": {
"description": "Are third-party cookies enabled",
"type": "boolean"
}
},
"type": "object"
},
"dhis2Instance": {
"description": "DHIS2 instance URL",
"type": "string"
},
"errorDetails": {
"properties": {
"errorMessage": {
"description": "Error message details",
"type": "string"
},
"httpStatus": {
"description": "HTTP status code received",
"type": "number"
},
"networkTab": {
"description": "Network tab information from browser dev tools",
"type": "string"
}
},
"type": "object"
},
"issueType": {
"description": "Type of authentication issue",
"enum": [
"login_failure",
"session_timeout",
"cookie_issues",
"token_problems",
"proxy_auth"
],
"type": "string"
}
},
"required": [
"issueType",
"dhis2Instance",
"authMethod"
],
"type": "object"
}