Skip to content

Commit cad401e

Browse files
committed
using variable instead of hardcoded name
1 parent 85c19f8 commit cad401e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jdk_17_maven/em/embedded/rest/familie-ba-sak/src/main/java/em/embedded/familie/ba/sak/EmbeddedEvoMasterController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private AuthenticationDto getAuthenticationDto(String label, String oauth2Url){
164164
dto.loginEndpointAuth = x;
165165

166166
x.externalEndpointURL = oauth2Url;
167-
x.payloadRaw = "name="+label+"&grant_type=authorization_code&code=foo&client_id=foo";
167+
x.payloadRaw = TOKEN_PARAM+"="+label+"&grant_type=authorization_code&code=foo&client_id=foo";
168168
x.verb = HttpVerb.POST;
169169
x.contentType = "application/x-www-form-urlencoded";
170170
x.expectCookies = false;

0 commit comments

Comments
 (0)