summaryrefslogtreecommitdiff
path: root/web/src/services/Api.ts
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2023-10-27 20:24:13 +1100
committerJames Elliott <james-d-elliott@users.noreply.github.com>2024-03-04 20:28:24 +1100
commit87d2a3419d6f29db900bc1aeb4cf5d7769a15ce3 (patch)
treea4efff47cb7be04f9fb1ce344cb9e40f4096dee6 /web/src/services/Api.ts
parentc0dbdd97ab2ac580e3da07a0137dbc7a1b9c9b83 (diff)
feat(web): user one-time password preferences
This allows administrators to configure a list of Time-based One-Time Password parameters that users can pick from the web UI during registrations. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'web/src/services/Api.ts')
-rw-r--r--web/src/services/Api.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/web/src/services/Api.ts b/web/src/services/Api.ts
index 745c5a326..29b2af087 100644
--- a/web/src/services/Api.ts
+++ b/web/src/services/Api.ts
@@ -8,13 +8,12 @@ const basePath = getBasePath();
export const ConsentPath = basePath + "/api/oidc/consent";
export const FirstFactorPath = basePath + "/api/firstfactor";
-export const InitiateTOTPRegistrationPath = basePath + "/api/secondfactor/totp/identity/start";
-export const CompleteTOTPRegistrationPath = basePath + "/api/secondfactor/totp/identity/finish";
-export const WebAuthnRegistrationPath = basePath + "/api/secondfactor/webauthn/credential/register";
+export const TOTPRegistrationOptionsPath = basePath + "/api/secondfactor/totp/register/options";
+export const TOTPRegistrationPath = basePath + "/api/secondfactor/totp/register";
+export const WebAuthnRegistrationPath = basePath + "/api/secondfactor/webauthn/credential/register";
export const WebAuthnAssertionPath = basePath + "/api/secondfactor/webauthn";
-
export const WebAuthnDevicesPath = basePath + "/api/secondfactor/webauthn/credentials";
export const WebAuthnDevicePath = basePath + "/api/secondfactor/webauthn/credential";