mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-27 14:48:45 +00:00
@@ -511,8 +511,8 @@ ZITADEL handles the complexity of the OIDC handshake so your app stays secure wi
|
|||||||
</Tab>
|
</Tab>
|
||||||
<Tab value="Vue.js">
|
<Tab value="Vue.js">
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/zitadel/example-auth-vuejs.git
|
git clone https://github.com/zitadel/example-auth-vue.git
|
||||||
cd example-auth-vuejs
|
cd example-auth-vue
|
||||||
```
|
```
|
||||||
</Tab>
|
</Tab>
|
||||||
</FrameworkSelector>
|
</FrameworkSelector>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ sidebar_label: Vue.js
|
|||||||
framework_url: https://vuejs.org
|
framework_url: https://vuejs.org
|
||||||
auth_library: oidc-client-ts
|
auth_library: oidc-client-ts
|
||||||
auth_library_url: https://www.npmjs.com/package/oidc-client-ts
|
auth_library_url: https://www.npmjs.com/package/oidc-client-ts
|
||||||
example_repo: https://github.com/zitadel/example-auth-vuejs
|
example_repo: https://github.com/zitadel/example-auth-vue
|
||||||
auth_flow: pkce
|
auth_flow: pkce
|
||||||
status: stable
|
status: stable
|
||||||
---
|
---
|
||||||
@@ -48,7 +48,7 @@ Before running this example, you need to create and configure a PKCE application
|
|||||||
|
|
||||||
Once you have your [Zitadel application configured](https://zitadel.com/docs/guides/integrate/login/oidc/login-users), follow these steps:
|
Once you have your [Zitadel application configured](https://zitadel.com/docs/guides/integrate/login/oidc/login-users), follow these steps:
|
||||||
|
|
||||||
1. Clone the [repository](https://github.com/zitadel/example-auth-vuejs).
|
1. Clone the [repository](https://github.com/zitadel/example-auth-vue).
|
||||||
2. Create a `.env` file in the project root and configure it with the values from your [Zitadel application](https://zitadel.com/docs/guides/manage/console/applications-overview):
|
2. Create a `.env` file in the project root and configure it with the values from your [Zitadel application](https://zitadel.com/docs/guides/manage/console/applications-overview):
|
||||||
```
|
```
|
||||||
VITE_ZITADEL_DOMAIN=https://your-instance.zitadel.cloud
|
VITE_ZITADEL_DOMAIN=https://your-instance.zitadel.cloud
|
||||||
@@ -80,4 +80,4 @@ npm run dev
|
|||||||
* [vue-oidc-context (wrapper)](https://www.npmjs.com/package/vue-oidc-context)
|
* [vue-oidc-context (wrapper)](https://www.npmjs.com/package/vue-oidc-context)
|
||||||
* [oidc-client-ts (primary library)](https://www.npmjs.com/package/oidc-client-ts)
|
* [oidc-client-ts (primary library)](https://www.npmjs.com/package/oidc-client-ts)
|
||||||
* [oidc-client-ts GitHub](https://github.com/authts/oidc-client-ts)
|
* [oidc-client-ts GitHub](https://github.com/authts/oidc-client-ts)
|
||||||
* [Example repository](https://github.com/zitadel/example-auth-vuejs)
|
* [Example repository](https://github.com/zitadel/example-auth-vue)
|
||||||
|
|||||||
Reference in New Issue
Block a user