cal.pub0.org/apps/web/pages/api/auth
Lucas Smith 2317473545
feat(web): improve session retrieval performance (#7584)
* feat(web): improve session retrieval performance

Switch to using `getServerSession` which avoids a HTTP round trip to retrieve session details.

Additionally, migrate deprecated `app/lib/auth` calls to to `@calcom/lib` package.

* fix: update failing test and lint

* Consolidates auth code in features

* Update yarn.lock

* Update packages/trpc/server/createContext.ts

* Oopsie

---------

Co-authored-by: zomars <zomars@me.com>
2023-03-10 23:45:24 +00:00
..
saml Add Idp-Initiated SSO (#6781) 2023-03-07 14:31:39 -07:00
two-factor/totp feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
[...nextauth].tsx feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
changepw.ts feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
forgot-password.ts Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
oidc.ts Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
reset-password.ts feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
setup.ts feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
signup.ts feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00