File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
webauthn-server-demo/src/main/java/demo/webauthn Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 24
24
25
25
package demo .webauthn ;
26
26
27
+ import javax .ws .rs .Consumes ;
27
28
import javax .ws .rs .DELETE ;
28
29
import javax .ws .rs .DefaultValue ;
29
30
import javax .ws .rs .FormParam ;
@@ -146,6 +147,7 @@ private StartRegistrationActions() throws MalformedURLException {
146
147
}
147
148
}
148
149
150
+ @ Consumes ("application/x-www-form-urlencoded" )
149
151
@ Path ("register" )
150
152
@ POST
151
153
public Response startRegistration (
@@ -219,6 +221,8 @@ private final class StartAuthenticationActions {
219
221
private StartAuthenticationActions () throws MalformedURLException {
220
222
}
221
223
}
224
+
225
+ @ Consumes ("application/x-www-form-urlencoded" )
222
226
@ Path ("authenticate" )
223
227
@ POST
224
228
public Response startAuthentication (
You can’t perform that action at this time.
0 commit comments