-
In tiddly-gittly/TidGi-Desktop@5dc672d I use authenticated-user-header to receive a value as token. For example, when server starts with
, only when other app query with header But this will make I found adding |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
tiddly-gittly/TidGi-Desktop@7c1446f Use token in the header key, for example export const TIDGI_AUTH_TOKEN_HEADER = 'x-tidgi-auth-token';
export const getTidGiAuthHeaderWithToken = (adminToken: string) => `${TIDGI_AUTH_TOKEN_HEADER}-${adminToken}`;
const tokenAuthenticateArguments = [`authenticated-user-header=${getTidGiAuthHeaderWithToken(adminToken)}`, `readers=${userName}`, `writers=${userName}`]; |
Beta Was this translation helpful? Give feedback.
tiddly-gittly/TidGi-Desktop@7c1446f Use token in the header key, for example