Skip to content

Commit

Permalink
Merge pull request #18841 from dewniMW/j9
Browse files Browse the repository at this point in the history
Bump Carbon Identity Framework Version
  • Loading branch information
dewniMW authored Jan 9, 2024
2 parents fac984f + a8ea845 commit 9362bee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,16 @@ public void testGetOrganization() {
}

@Test(dependsOnMethods = "testSelfOnboardOrganization")
public void switchM2MToken() throws IOException, ParseException {
public void switchM2MToken() throws IOException, ParseException, InterruptedException {

ApplicationSharePOSTRequest applicationSharePOSTRequest = new ApplicationSharePOSTRequest();
applicationSharePOSTRequest.setShareWithAllChildren(false);
applicationSharePOSTRequest.setSharedOrganizations(Collections.singletonList(organizationID));
oAuth2RestClient.shareApplication(selfServiceAppId, applicationSharePOSTRequest);

// Since application sharing is an async operation, wait for sometime before switching the organization.
Thread.sleep(5000);

List<NameValuePair> urlParameters = new ArrayList<>();
urlParameters.add(new BasicNameValuePair(OAuth2Constant.GRANT_TYPE_NAME, "organization_switch_cc"));
urlParameters.add(new BasicNameValuePair("token", m2mToken));
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2252,7 +2252,7 @@
<properties>

<!--Carbon Identity Framework Version-->
<carbon.identity.framework.version>5.25.649</carbon.identity.framework.version>
<carbon.identity.framework.version>5.25.651</carbon.identity.framework.version>
<carbon.identity.framework.version.range>[5.14.67, 6.0.0]</carbon.identity.framework.version.range>

<!--SAML Common Utils Version-->
Expand Down

0 comments on commit 9362bee

Please sign in to comment.