New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sveltekit-zitadel-oidc

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sveltekit-zitadel-oidc - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

7

dist/auth/oidc/client.js
// oidc.ts
import { UserManager, WebStorageStateStore, User } from "oidc-client-ts";
import { goto } from "$app/navigation";
import { isAuthenticated, user } from "./store";
import { isAuthenticated, user } from "./store.js";
import { browser } from "$app/environment";

@@ -114,6 +114,7 @@ import { env } from '$env/dynamic/public';

try {
await action();
return await action();
}
catch (error) {
console.error('OIDC action failed', error);
return undefined;
}

@@ -168,3 +169,3 @@ }

return null;
return await executeWithErrorHandling(() => userManager.getUser());
return await executeWithErrorHandling(() => userManager.getUser()) || null;
}

@@ -171,0 +172,0 @@ /**

{
"name": "sveltekit-zitadel-oidc",
"version": "0.0.5",
"version": "0.0.6",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc