<passage-auth>
tag is a custom element and suppress this warning you can add this configuration to vue.config.js:@passageidentity/passage-auth/passage-user
. This example wraps this functionality into a reusable Vue composable in useAuthStatus:PassageUser().authGuard()
can be used as a route guard in your application, but it should NOT be make authorization decisions when fetching data from an API server. Route guards provide a better user experience, but less security than using one of Passage's backend libraries. For applications using an API server, you must use one of the Passage backend SDKs to safely verify user authentication tokens.