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

Missing tags Property in the API Response of User-Defined Federated Authenticators #21998

Open
Shenali-SJ opened this issue Dec 10, 2024 · 1 comment

Comments

@Shenali-SJ
Copy link
Contributor

Shenali-SJ commented Dec 10, 2024

Description

API responses for user-defined federated authenticator operations do not contain the tags property.

On par with the default behavior, tags should be included in each federated authenticator.

Default Behavior:

    "federatedAuthenticators": {
        "defaultAuthenticatorId": "************************",
        "authenticators": [
            {
                "authenticatorId": "************************",
                "name": "GoogleOIDCAuthenticator",
                "isEnabled": true,
                "definedBy": "SYSTEM",
                "tags": [
                    "Social-Login",
                    "APIAuth"
                ],
                "self": "/api/server/v1/identity-providers/************************/federated-authenticators/************************"
            }
        ]
    }

Faulty Behavior:

    "federatedAuthenticators": {
        "defaultAuthenticatorId": "************************",
        "authenticators": [
            {
                "authenticatorId": "************************",
                "name": "customFedAuthenticator",
                "isEnabled": true,
                "definedBy": "USER",
                "self": "/api/server/v1/identity-providers/************************/federated-authenticators/************************"
            }
        ]
    }

Steps to Reproduce

  1. Create a user-defined federated authenticator.
  2. Check the API response.

Observe that the tags property is not included in the API response.

Environment Details (with versions)

No response

@Thisara-Welmilla
Copy link
Contributor

PRs:
Fix: ttps://github.com/wso2/identity-api-server/pull/758
Integration tests: #22002

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants