From ef1057b82b07a7d39f77672e933be83f3558fa35 Mon Sep 17 00:00:00 2001 From: "Fabian Althaus [el-j]" Date: Thu, 29 Aug 2024 13:14:30 +0200 Subject: [PATCH] docs: fix GitHub links to vue files (#8490) view links were broken in example page. Co-authored-by: Elio Bischof --- docs/docs/examples/login/vue.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/examples/login/vue.mdx b/docs/docs/examples/login/vue.mdx index fa1a5ee41..481af212c 100644 --- a/docs/docs/examples/login/vue.mdx +++ b/docs/docs/examples/login/vue.mdx @@ -85,20 +85,20 @@ https://github.com/zitadel/zitadel-vue/blob/main/src/main.ts The restricted admin view will only be shown if the user is authenticated and has the role "admin" in the apps project in ZITADEL. ```ts reference -https://github.com/zitadel/zitadel-vue/blob/main/src/views/Admin.vue +https://github.com/zitadel/zitadel-vue/blob/main/src/views/AdminView.vue ``` The restricted login view is shown to all authenticated users. It prints all the information it gets from the token and from the user info endpoint. ```ts reference -https://github.com/zitadel/zitadel-vue/blob/main/src/views/Login.vue +https://github.com/zitadel/zitadel-vue/blob/main/src/views/LoginView.vue ``` The public no access view is shown to authenticated users who navigate to a page they don't have access to based on their roles. ```ts reference -https://github.com/zitadel/zitadel-vue/blob/main/src/views/NoAccess.vue +https://github.com/zitadel/zitadel-vue/blob/main/src/views/NoAccessView.vue ``` ### Add protected routes to your new pages as well as a Signout link @@ -126,4 +126,4 @@ Now that you have enabled authentication, you are ready to call add authorizatio To do this, [refer to the API docs](/apis/introduction) or check out [the ZITADEL Console code on GitHub](https://github.com/zitadel/zitadel) which uses gRPC to access data. For more information on how to create an Vue application, you can refer to [Vue](https://vuejs.org/guide/quick-start.html). -If you want to learn more about the libraries wrapped by [@zitadel/vue](https://www.npmjs.com/package/@zitadel/vue), [read the docs for vue-oidc-client](https://github.com/soukoku/vue-oidc-client/wiki/V1-Docs). \ No newline at end of file +If you want to learn more about the libraries wrapped by [@zitadel/vue](https://www.npmjs.com/package/@zitadel/vue), [read the docs for vue-oidc-client](https://github.com/soukoku/vue-oidc-client/wiki/V1-Docs).