Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private void setAppTidInCaseOfIAS( @Nullable final String tenantId )
additionalParameters.put("app_tid", tenantId);
if( onBehalfOf == OnBehalfOf.NAMED_USER_CURRENT_TENANT ) {
// workaround until a fix is provided by IAS
additionalParameters.put("refresh_token", "0");
additionalParameters.put("refresh_expiry", "0");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void testSubdomainTenantStrategy()
2,
postRequestedFor(urlEqualTo("/oauth/token"))
.withRequestBody(containing("app_tid=" + tenant.getTenantId()))
.withRequestBody(containing("refresh_token=0"))
.withRequestBody(containing("refresh_expiry=0"))
.withRequestBody(
containing("grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer".replace(":", "%3A")))
.withRequestBody(containing("assertion=")));
Expand Down
2 changes: 1 addition & 1 deletion release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@

### 🐛 Fixed Issues

-
- Fixed IAS OAuth2 token requests to use correct `refresh_expiry=0` parameter instead of `refresh_token=0` to disable refresh token issuance in certain cases.