Skip to content

Commit

Permalink
Changes to support new KC.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Nov 26, 2024
1 parent f9baa79 commit 2fe1639
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public interface SoamEndpoint {

@PostMapping(value = "/login", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
@PreAuthorize("hasAuthority('SCOPE_SOAM_LOGIN')")
ResponseEntity<Void> performLogin(MultiValueMap<String, String> formData, @RequestHeader String correlationID);
ResponseEntity<Void> performLogin(@RequestBody MultiValueMap<String, String> formData, @RequestHeader String correlationID);

@GetMapping("/{typeCode}/{typeValue}")
@PreAuthorize("hasAuthority('SCOPE_SOAM_LOGIN')")
Expand All @@ -41,6 +41,6 @@ public interface SoamEndpoint {

@PostMapping(value = "/link", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
@PreAuthorize("hasAuthority('SCOPE_SOAM_LINK')")
ResponseEntity<SoamLoginEntity> performBCSCLink(MultiValueMap<String, String> formData, @RequestHeader String correlationID);
ResponseEntity<SoamLoginEntity> performBCSCLink(@RequestBody MultiValueMap<String, String> formData, @RequestHeader String correlationID);

}

0 comments on commit 2fe1639

Please sign in to comment.