How to get session in [...].ts | NuxtAuthHandler get session from event
See original GitHub issueDescribe the feature
How can we get a session from NuxtAuthHandler as I am able to understand how to get event as I see example
export default eventHandler(async (event) => {
const session = await getServerSession(event)
})
it use event to get session data
Additional information
No response
Issue Analytics
- State:
- Created 10 months ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How I can get session object from ApplicationListener method
I want to add object to HttpSession after successful user authentication. Please don't suggest solution with ...
Read more >angular-event-view-cli/session.service.ts at main - GitHub
angular-event-view-cli/src/app/sessions/shared/session.service.ts · Go to file T · Go to line L · Copy path · Copy permalink.
Read more >Window.sessionStorage - Web APIs - MDN Web Docs
The read-only sessionStorage property accesses a session Storage ... setItem("key", "value"); // Get saved data from sessionStorage let data ...
Read more >Session Access and Route Protection - sidebase
On the server side you can get access to the current session like this: import { getServerSession } from '#auth'export default eventHandler(async (event) ......
Read more >Session | NestJS - A progressive Node.js framework
Session. HTTP sessions provide a way to store information about the user across multiple requests, which is particularly useful for MVC applications.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@BracketJohn Thanks
@MuhammadKhizar7 the issue was fixed and the release for it is out: https://github.com/sidebase/nuxt-auth/releases/tag/0.2.0
Use it as
npm i -D @sidebase/nuxt-auth(: