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