feat(auth): login screen and domain-scoped navigation
Session login against /auth/*, with a guard on every route and an interceptor that returns to the login on 401. The header, the import workspace and both governance panels only offer the account's own domains (auth/dominios.ts), and a batch opens on the account's database. The sign-in screen follows the app's palette: logo above the title, the action button in the shared tokens, and no register or password-recovery rows.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"/api": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
|
||||
"/auth": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
|
||||
"/imports": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
|
||||
"/data": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
|
||||
"/health": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
|
||||
|
||||
Reference in New Issue
Block a user