-
Notifications
You must be signed in to change notification settings - Fork 374
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
Add support for additional OAuth attributes in DCR #2173
Add support for additional OAuth attributes in DCR #2173
Conversation
…inbound-auth-oauth into master_DCR_New_Approach
@@ -669,6 +683,75 @@ private void addOrUpdateOIDCSpProperty(OAuthAppDO oauthAppDO, | |||
TOKEN_BINDING_VALIDATION, String.valueOf(oauthAppDO.isTokenBindingValidationEnabled()), | |||
prepStatementForPropertyAdd, preparedStatementForPropertyUpdate); | |||
|
|||
addOrUpdateOIDCSpProperty(preprocessedClientId, spTenantId, spOIDCProperties, | |||
TOKEN_AUTH_METHOD, String.valueOf(oauthAppDO.getTokenEndpointAuthMethod()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As these getters used are returning String values, cant we straight away get the value from the getters without passing it to String.valueOf() method. Please check the other places as well in the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed with 09b4239
...cr/src/gen/java/org/wso2/carbon/identity/oauth2/dcr/endpoint/dto/RegistrationRequestDTO.java
Outdated
Show resolved
Hide resolved
…inbound-auth-oauth into master_DCR_New_Approach
…inbound-auth-oauth into master_DCR_New_Approach � Conflicts: � components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/dao/OAuthAppDAO.java
...on.identity.oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/dcr/bean/Application.java
Show resolved
Hide resolved
...on.identity.oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/dcr/bean/Application.java
Show resolved
Hide resolved
...on.identity.oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/dcr/bean/Application.java
Show resolved
Hide resolved
...identity.oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/dcr/service/DCRMService.java
Outdated
Show resolved
Hide resolved
...identity.oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/dcr/service/DCRMService.java
Outdated
Show resolved
Hide resolved
...bon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/dto/OAuthConsumerAppDTO.java
Show resolved
Hide resolved
...bon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/dto/OAuthConsumerAppDTO.java
Show resolved
Hide resolved
…inbound-auth-oauth into master_DCR_New_Approach � Conflicts: � components/org.wso2.carbon.identity.oauth.common/src/main/java/org/wso2/carbon/identity/oauth/common/OAuthConstants.java
...cr/src/gen/java/org/wso2/carbon/identity/oauth2/dcr/endpoint/dto/RegistrationRequestDTO.java
Outdated
Show resolved
Hide resolved
...bon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/dto/OAuthConsumerAppDTO.java
Show resolved
Hide resolved
PR builder started |
PR builder completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/6529567996
Proposed changes in this pull request
Add support for storing, retrieving and updating additional OIDC attributes via DCR API.
wso2/product-is#16828
Integration test PR - wso2/product-is#16953
When should this PR be merged
[Please describe any preconditions that need to be addressed before we
can merge this pull request.]
Follow up actions
[List any possible follow-up actions here; for instance, testing data
migrations, software that we need to install on staging and production
environments.]
Checklist (for reviewing)
General
Functionality
Code
Tests
Security
Documentation