test flow device_code; consent

pull/4/head
shengzhaoli.shengz 1 year ago
parent 919b17ba61
commit d6e63ad8c5

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

Loading…
Cancel
Save