mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 18:57:32 +00:00
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:

committed by
GitHub

parent
41ae35f2ef
commit
ef1057b82b
@@ -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.
|
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
|
```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.
|
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.
|
It prints all the information it gets from the token and from the user info endpoint.
|
||||||
|
|
||||||
```ts reference
|
```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.
|
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
|
```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
|
### 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.
|
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).
|
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).
|
||||||
|
Reference in New Issue
Block a user