chore: full stack stability and migration fixes, plus react UI progress
This commit is contained in:
@@ -4,7 +4,7 @@ import jwt from 'jsonwebtoken';
|
||||
|
||||
describe('Generate Keys', () => {
|
||||
it('should generate keys', () => {
|
||||
const secret = 'testsecret';
|
||||
const secret = 'supersecret1234567890123456789012';
|
||||
const anon = jwt.sign({ role: 'anon', iss: 'madbase' }, secret, { algorithm: 'HS256' });
|
||||
const service = jwt.sign({ role: 'service_role', iss: 'madbase' }, secret, { algorithm: 'HS256' });
|
||||
console.log(`ANON_KEY=${anon}`);
|
||||
|
||||
Reference in New Issue
Block a user