wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
729 stars 713 forks source link

Issues/improvements with federated authenticator metadata response #7983

Closed tharindu-b-hewage closed 4 years ago

tharindu-b-hewage commented 4 years ago

Describe the Issue:

How To Reproduce:

  1. Invoke https://localhost:9443/t/{{tenant-domain}}/api/server/v1/identity-providers/meta/federated-authenticators, and get the list of authenticators.
  2. Fetch OpenIDConnectAuthenticator metadata with https://localhost:9443/t/carbon.super/api/server/v1/identity-providers/meta/federated-authenticators/{authenticator-id}I.
  3. Observe followings. 3.1 isConfidential is false 3.2 URL fields are considered as text.

Expected behavior:

Device Information (Please complete the following information) :

emswbandara commented 4 years ago

@tharindu-bandara can you please create another issue to track the URL option. It is an improvement which requires changes to the Property model.

tharindu-b-hewage commented 4 years ago

@tharindu-bandara can you please create another issue to track the URL option. It is an improvement that requires changes to the Property model.

+1. Please find the issue: https://github.com/wso2/product-is/issues/7987

tharindu-b-hewage commented 4 years ago

@emswbandara

Kindly find the meta-properties below, which need to be marked as confidential.

emswbandara commented 4 years ago

@tharindu-bandara

Except for facebook and OAuth authenticators for rest of the authenticators you mentioned the confidential property is already there. E.g. https://github.com/wso2-extensions/identity-local-auth-iwa-kerberos/blob/master/components/org.wso2.carbon.identity.application.authenticator.iwa/src/main/java/org/wso2/carbon/identity/application/authenticator/iwa/IWAFederatedAuthenticator.java#L157