zitadel-vue icon indicating copy to clipboard operation
zitadel-vue copied to clipboard

vue-oidc-client

Open basharatusman opened this issue 1 year ago • 9 comments

Thank you for setting up this library and the guide for Vue!

I see the library wraps vue-oidc-client, which wraps oidc-client-js. It looks like oidc-client-js is functional but no longer maintained.

Are there any plans to potentially use oidc-client-ts directly for zitadel-vue?

basharatusman avatar Jan 31 '24 18:01 basharatusman

I guess @peintnermax can reply best to this

fforootd avatar Feb 02 '24 08:02 fforootd

vuex-oidc looks promising

aDogCalledSpot avatar Mar 28 '24 14:03 aDogCalledSpot

Thanks @aDogCalledSpot. I was checking the open issues for that library and found pinia-oidc. It also uses oidc-client-ts and appears might be a better for for Vue3 / Pinia.

basharatusman avatar Mar 28 '24 14:03 basharatusman

The README links to vue3-oidc if using Vue3, so maybe that one's the right choice.

aDogCalledSpot avatar Mar 28 '24 15:03 aDogCalledSpot

maybe its an option to use: https://authjs.dev. There is already a zitadel provider but the vue/nuxt implementation is missing 😁

Clex1o1 avatar Jul 31 '24 11:07 Clex1o1

I just used oidc-client-ts with similar setup steps as Zitadel React and it works alright. There's not much Vue-specific about it.

aDogCalledSpot avatar Jul 31 '24 13:07 aDogCalledSpot

Anything going on here? is this project active?

Cross-site Scripting (XSS) in serialize-javascript - https://github.com/advisories/GHSA-76p7-773f-r4q5
No fix available
node_modules/serialize-javascript
  oidc-client  >=1.11.0-beta.1
  Depends on vulnerable versions of serialize-javascript
  node_modules/oidc-client
    vue-oidc-client  >=1.0.0-alpha.1
    Depends on vulnerable versions of oidc-client
    node_modules/vue-oidc-client
      @zitadel/vue  *
      Depends on vulnerable versions of vue-oidc-client

el-j avatar Feb 18 '25 11:02 el-j

Hm let me raise this internally to see how we want to progress here.

fforootd avatar Feb 18 '25 12:02 fforootd

@fforootd what was the outcome here?

conblem avatar Apr 14 '25 13:04 conblem