I am following the following to set up authentication Vue.js Authentication By Example: Composition API
I would like to set a cookie with organisation id for the signed in user that I would like to use across the app. I am new to Vue 3 and Auth 0.
How can I check if the user has signed in after login button is clicked so that I can set a cookie when a user has successfully signed in after clicking the login button?
I am not managing organisations in Auth0 at the moment. I have a table in my database and intend to use that instead.
Any guidance would be appreciated.