Skip to content

Unable to get complete set of Database Attributes for an Application using the applications_get api #48

@kodas-briozing

Description

@kodas-briozing

I want to get the "databaseAttributes" of a AWS SAML2 application using the JumpCloud api - applications_get by passing a particular application_id.

The response contains only 1 parameter - position.

{'position': 1}

But when the same application is queried via postman,a detailed response is received.
GET - https://console.jumpcloud.com/api/applications/<my_application_id>

"databaseAttributes": {
            "label": "USER ATTRIBUTES MAPPING:",
            "readOnly": false,
            "toggle": null,
            "tooltip": {
                "template": "Dynamic",
                "variables": {
                    "icon": "jc-info-circle",
                    "message": "(Optional) Configure any user-specific attributes to be sent to the service provider. The value specified must directly reflect the JumpCloud system user property name (e.g., email, firstname, lastname). See the Knowledge Base for exact JumpCloud property names."
                }
            },
            "type": "constantAttributes",
            "value": [
                {
                    "name": "https://aws.amazon.com/SAML/Attributes/Role",
                    "value": "SandboxDevelopers",
                    "required": false,
                    "visible": true,
                    "readOnly": false
                },
                {
                    "name": "https://aws.amazon.com/SAML/Attributes/Role",
                    "value": "SandboxAdministrators",
                    "required": false,
                    "visible": true,
                    "readOnly": false
                }
            ],
            "visible": true,
            "options": null,
            "dependsOnProperty": null,
            "mutable": true,
            "required": null,
            "position": 1
        },

Can some one please suggest a solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions