mirror of
https://github.com/immich-app/immich.git
synced 2025-01-10 13:56:47 +01:00
08c7054845
* refactor(server): auth/oauth * fix: show server error message on login failure
10 lines
383 B
TypeScript
10 lines
383 B
TypeScript
export const MOBILE_REDIRECT = 'app.immich:/';
|
|
export const LOGIN_URL = '/auth/login?autoLaunch=0';
|
|
export const IMMICH_ACCESS_COOKIE = 'immich_access_token';
|
|
export const IMMICH_AUTH_TYPE_COOKIE = 'immich_auth_type';
|
|
export const IMMICH_API_KEY_NAME = 'api_key';
|
|
export const IMMICH_API_KEY_HEADER = 'x-api-key';
|
|
export enum AuthType {
|
|
PASSWORD = 'password',
|
|
OAUTH = 'oauth',
|
|
}
|