Commit 5aa740f
Using better-auth for auth (#684)
* Swapped next-auth with better-auth
* Removed deprecate files
* Removed next-auth references from code base
* feat: update session handling to use `auth.api.getSession` and configure Jest for `better-auth` modules.
* Missed mock files
* Trusted origin for better-auth
* Removed unused vars
* Removed deprecated env var
* Fixed error message display
* Removed unused var
---------
Co-authored-by: Rajat <[email protected]>1 parent d8a7788 commit 5aa740f
File tree
51 files changed
+1446
-748
lines changed- apps/web
- __mocks__
- app
- (with-contexts)
- (with-layout)
- login
- logout
- server
- course/[slug]/[id]
- dashboard
- (sidebar)
- mail/drip/[productId]/[sectionId]/internal
- api
- auth
- [...all]
- [...nextauth]
- code/generate
- graph
- media
- [mediaId]/[type]
- presigned
- payment
- initiate
- __tests__
- verify-new
- verify-domain
- components
- admin/products
- public
- payments
- config
- graphql
- pages
- users
- lib
- models
- ui-config
- deployment/docker
- packages
- common-logic/src/models/user
- common-models/src
- components-library/src
- utils/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+1446
-748
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 12 | + | |
18 | 13 | | |
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 18 | + | |
28 | 19 | | |
0 commit comments