Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
AuthSession in T3 boiler plate not working when fetching data in SSG with tRPC - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
15 replies
Tony
AuthSession in T3 boiler plate not working when fetching data in SSG with tRPC
So when fetching data in getStaticProps
, the docs instruct to use the SSG headers
https://trpc.io/docs/ssg
. Now doing this causes the file in
server/common/get-server-auth-session
server/common/get-server-auth-session
to throw errors because the
context
context
will be undefined
. What
's the way to go around this
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
SSG not pre-fetching data
TTC
Theo's Typesafe Cult / questions
3y ago
SSG with tRPC
TTC
Theo's Typesafe Cult / questions
2y ago
fetching data from external api with trpc
TTC
Theo's Typesafe Cult / questions
4y ago