Browse Source

test flow device_code; consent

pull/4/head
shengzhaoli.shengz 1 year ago
parent
commit
d6e63ad8c5
  1. 4
      src/main/java/com/monkeyk/sos/web/controller/OAuth2DeviceVerificationController.java

4
src/main/java/com/monkeyk/sos/web/controller/OAuth2DeviceVerificationController.java

@ -2,6 +2,8 @@ package com.monkeyk.sos.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import static com.monkeyk.sos.domain.shared.SOSConstants.DEVICE_VERIFICATION_ENDPOINT_URI;
@ -24,7 +26,7 @@ public class OAuth2DeviceVerificationController {
*
* @return view
*/
@GetMapping(DEVICE_VERIFICATION_ENDPOINT_URI)
@RequestMapping(value = DEVICE_VERIFICATION_ENDPOINT_URI, method = {RequestMethod.GET, RequestMethod.POST})
public String deviceVerification() {
return "device_verification";
}

Loading…
Cancel
Save