How do you get the session in middleware?

getServerAuthSession throws an error.
Was this page helpful?