mirror of
https://github.com/remnawave/backend.git
synced 2026-08-04 14:48:33 +00:00
- Added passkey authentication options and verification endpoints in the AuthController. - Introduced RemnawaveSettings model and integrated it into the database schema. - Updated configuration schema to support passkey and remnawave settings. - Refactored authentication service to utilize passkey settings for login processes.
17 lines
480 B
TypeScript
17 lines
480 B
TypeScript
export const AUTH_CONTROLLER = 'auth' as const;
|
|
|
|
export const AUTH_ROUTES = {
|
|
LOGIN: 'login',
|
|
REGISTER: 'register',
|
|
GET_STATUS: 'status',
|
|
|
|
OAUTH2: {
|
|
TELEGRAM_CALLBACK: 'oauth2/tg/callback',
|
|
AUTHORIZE: 'oauth2/authorize',
|
|
CALLBACK: 'oauth2/callback',
|
|
},
|
|
PASSKEY: {
|
|
GET_AUTHENTICATION_OPTIONS: 'passkey/authentication/options', // get
|
|
VERIFY_AUTHENTICATION: 'passkey/authentication/verify', // post
|
|
},
|
|
} as const;
|