Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kodas-briozing opened this issue Oct 4, 2020 · 1 comment

Comments

@kodas-briozing
Copy link

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?

@idosh9
Copy link

idosh9 commented Mar 3, 2024

has this been solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants