-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get local provider reponse data #583
Comments
hi @prabodhana on your Login.vue, you need to setup login const result = ref() in other your protected page const { data } = useAuth() console.log(JSON.stringify(data)) |
hello @karis
|
sure, have you try this?
|
Yes. it return undefined |
can you build your reproduction? stackblitz
|
Ok. I'm not use authjs provider. I'm used new 0.6 local-auth-provider |
check this in your nuxt.config.ts so I set |
Yes. But I need get some extra data from the response like this
|
Hey @prabodhana, Feel free to send a PR if you want! In this case, remember to update the refresh provider as well. |
How can I get the response data on local provide sign in method. I tried it like this
const {data} = await signIn({})
But it return undefined value
The text was updated successfully, but these errors were encountered: