[Question] How to connect Keycloak-js correctly with Quasar? #9955
Replies: 5 comments 15 replies
-
Please use github discussions for questions or post this in our discord. |
Beta Was this translation helpful? Give feedback.
-
The need for |
Beta Was this translation helpful? Give feedback.
-
This is the new current state: dsb-norge/vue-keycloak-js#94 |
Beta Was this translation helpful? Give feedback.
-
I am using this lib, I am stuck in mobile redirection I build app using a quasar with keycloak auth, redirection is not working in ios, can anyone help on setup configuration |
Beta Was this translation helpful? Give feedback.
-
I tried to using Keycloak-js with Quasar (Quasar CLI) to perform web-authentication and getting the token for the webservices.
At first i tried it with using https://www.npmjs.com/package/keycloak-js and with using https://github.com/dsb-norge/vue-keycloak-js.
Additionally i used the tutorial from https://blog.icod.de/2021/02/25/keycloak-js-client-with-quasar/ to get it work but it seems Quasar have a problem with "Vue" cause by using the following code in boot as keycloak.js i got "[Quasar] boot error: TypeError: Vue is undefined"
I was also reading #4758 and tried it to use but this didnt seem to work for me with the quasar cli. Also the token refresh didnt work and is missing in the named blogpost tutorial.
https://medium.com/keycloak/secure-vue-js-app-with-keycloak-94814181e344 There was also a tutorial for vue in general but this wont also work for the quasar cli.
So how to connect Keycloak-js correctly with Quasar? And make it sense to write a quasar-cli plugin to connect keycloak with quasar?
Beta Was this translation helpful? Give feedback.
All reactions