{"repo":"zitadel/vue-auth","free":true,"listed":false,"github":"https://github.com/zitadel/vue-auth","clone":"git clone https://github.com/zitadel/vue-auth.git","description":"Official Zitadel auth integration for Vue.","language":"TypeScript","stars":26,"topics":["vue","zitadel","authentication","typescript","auth","authn","authorization","authz","iam","identity"],"license":null,"category":"auth-billing-email","readme_excerpt":"Vue Auth A Vue 3 integration that provides seamless authentication for single-page applications using OpenID Connect with the Authorization Code flow and PKCE, session management, and idiomatic Vue composables and provide/inject. This integration brings the power and flexibility of OIDC to Vue applications with full TypeScript support, built on top of oidc-client-ts , and an API surface compatible with vue-oidc-context . Why? Modern single-page applications require robust, secure, and flexible authentication systems. Integrating OIDC and session management with a Vue application requires careful consideration of the browser redirect lifecycle, silent token renewal, and TypeScript integration. However, a direct integration isn't always straightforward. Different types of applications or deployment scenarios might warrant different approaches: - Browser Redirect Lifecycle: OIDC sign-in operates through full browser navigations to the identity provider and back. A proper integration should detect the authorization response on return, complete the code exchange, and clean the authorization parameters from the URL automatically. - Reactive Auth State: Vue components need to react to authentication state without boilerplate. The useAuth() composable exposes a reactive ref with isAuthenticated , isLoading , user , and error . - Route Protection: Many applications need to gate routes behind authentication. withAuthenticationRequired() wraps a component so that unauthenticated users a","default_branch":null,"files":null,"tree":[],"storefront":"/r/zitadel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zitadel/vue-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}