mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
* chore: merge * feat: nullable password * feat: server debugger * chore: regenerate api * feat: auto-register flag * refactor: oauth endpoints * chore: regenerate api * fix: default scope configuration * refactor: pass in redirect uri from client * chore: docs * fix: bugs * refactor: auth services and user repository * fix: select password * fix: tests * fix: get signing algorithm from discovery document * refactor: cookie constants * feat: oauth logout * test: auth services * fix: query param check * fix: regenerate open-api
8 lines
236 B
TypeScript
8 lines
236 B
TypeScript
export const jwtSecret = process.env.JWT_SECRET;
|
|
export const IMMICH_ACCESS_COOKIE = 'immich_access_token';
|
|
export const IMMICH_AUTH_TYPE_COOKIE = 'immich_auth_type';
|
|
export enum AuthType {
|
|
PASSWORD = 'password',
|
|
OAUTH = 'oauth',
|
|
}
|