docs: fix GitHub links to vue files (#8490)

view links were broken in example page.

Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
Fabian Althaus [el-j] 2024-08-29 13:14:30 +02:00 committed by GitHub
parent 41ae35f2ef
commit ef1057b82b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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).
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).