MCPcopy
hub / github.com/nextauthjs/next-auth / getServerSideProps

Function getServerSideProps

app/pages/server.js:35–41  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

33
34// Export the `session` prop to use sessions with Server Side Rendering
35export async function getServerSideProps(context) {
36 return {
37 props: {
38 session: await getSession(context),
39 },
40 }
41}

Callers 1

PageFunction · 0.85

Calls 1

getSessionFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…