mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
feat(presi): add PillNavigation and fix auth service JWT parsing
Presi webapp: - Add PillNavigation from @manacore/shared-ui - Create navigation store for sidebar/collapsed state - Update layout with floating/sidebar nav modes - Hide nav on presentation and shared routes - Add theme toggle and logout to navigation Auth service: - Fix JWT private key parsing by converting \n to actual newlines - Required for Docker env vars where newlines are escaped Environment: - Add localhost:5174-5179 to CORS_ORIGINS for all webapp ports 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
5e15f57816
commit
79acf8b8b8
12 changed files with 537 additions and 503 deletions
|
|
@ -209,7 +209,8 @@ export class AuthService {
|
|||
if (!privateKeyRaw) {
|
||||
throw new Error('JWT private key not configured');
|
||||
}
|
||||
const privateKey: string = privateKeyRaw;
|
||||
// Convert escaped newlines to actual newlines (for Docker env vars)
|
||||
const privateKey: string = privateKeyRaw.replace(/\\n/g, '\n');
|
||||
const accessTokenExpiry = this.configService.get<string>('jwt.accessTokenExpiry') || '15m';
|
||||
const refreshTokenExpiry = this.configService.get<string>('jwt.refreshTokenExpiry') || '7d';
|
||||
const issuer = this.configService.get<string>('jwt.issuer');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue