Login flow #193

Grsmto merged 43 commits into main from 191-sign-in-modal
Grsmto
Grsmto replace EthicsModal by LoginModal and start binding auth logic
aa189d6d
Grsmto start implementing login modal + give a try to @auth/sveltekit
60d19c17
Grsmto start custom auth implementation instead of auth.js for consistency w…
73df22b6
Grsmto fetch user data from provider
c4a5199e
Grsmto add migration from anonymous to user + bind frontend
518bb388
Grsmto Merge branch 'main' into 191-sign-in-modal
bbeef01f
Grsmto add missing auth secret + only migrate conversations for pre-existing…
24524df2
coyotte508
coyotte508 commented on 2023-05-11
gary149 gary149 requested a review from nsarrazin nsarrazin 2 years ago
Grsmto remove email scope as it's not needed
a8a51caf
Grsmto no need to define .well-known path
ef75893c
Grsmto use env var for hf hub website url
b1e6bf94
Grsmto move sessionId to signature on csrf token exchange
d5ebc0f4
Grsmto remove ethic modal check and set default settings on new users
c8d32255
coyotte508
coyotte508 commented on 2023-05-11
Grsmto anonymous users can read only + modal on write tries
0330f73a
Grsmto refresh session cookie when existing user signin again rather than us…
0edb3ccb
Grsmto allow users to keep using the app without loging-in if env var is no…
b3da3fde
Grsmto typo
a59571fa
Grsmto handle denied login
a60bf3b6
Grsmto Grsmto marked this pull request as ready for review 2 years ago
Grsmto do not use a form action for login as there is nothing post-ed
cc6b1759
coyotte508
coyotte508 commented on 2023-05-12
Grsmto use requiresUser instead of env var to define login modal or not
a98e679f
Grsmto move back to a form action for login so user can't be linked to /logi…
056a0fd5
Grsmto show login modal even for pre-existing users
211fb72e
Grsmto fix logic of account creation/updates
237ecb5f
Grsmto settings insertOne instead of updateOne
04c2d559
Grsmto fix missing userId to settings creation
da91869e
coyotte508
coyotte508 commented on 2023-05-12
Grsmto fix missing updatedAt when updating settings of pre-existing users
5103b720
coyotte508
coyotte508 commented on 2023-05-12
Grsmto show login modal for everyone + add comments
382e8b3e
Grsmto fix login modal condition for both required/not required login
7723ce5d
Grsmto 🔨
ee984caa
Grsmto bring back missing form values in login modal
2b31ac02
Grsmto refactor default settings spread around to a constant
cb7dda94
Grsmto missing default settings
2294f1b8
Grsmto typo
60714fff
Grsmto Grsmto requested a review from coyotte508 coyotte508 2 years ago
coyotte508
coyotte508 commented on 2023-05-12
coyotte508
Grsmto rename a bunch of things to remove SSO references
e8bbd2c4
Grsmto always migrate conversations
6764d58b
Grsmto remove unneeded sha256 Node specific function, replace with browser c…
10f1079b
Grsmto
Grsmto fix typings
069c5b38
coyotte508
coyotte508 commented on 2023-05-12
coyotte508 Update src/lib/components/LoginModal.svelte
5af601c9
Grsmto use authCondition() in callback
59934ba8
gary149
Grsmto add logout
25218bf6
coyotte508 🐛 Fix signout
a571e9fd
coyotte508 fixup! 🐛 Fix signout
6911106e
coyotte508
coyotte508 approved these changes on 2023-05-15
gary149 sign out button ui
6f6d6a01
gary149 add hf logo in the button
760a1958
Grsmto Grsmto merged 64d38419 into main 2 years ago
Grsmto Grsmto deleted the 191-sign-in-modal branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone