feat: implement onboarding for non-registered users

This commit is contained in:
Aarnav Tale 2025-04-02 13:26:58 -04:00
parent 17d477bf0f
commit 80c987f383
No known key found for this signature in database
10 changed files with 522 additions and 14 deletions

View file

@ -14,6 +14,7 @@ export async function loader({
const session = await context.sessions.auth(request);
// We shouldn't session invalidate if Headscale is down
// TODO: Notify in the logs or the UI that OIDC auth key is wrong if enabled
if (healthy) {
try {
await context.client.get('v1/apikey', session.get('api_key')!);