Commit Graph

26 Commits

Author SHA1 Message Date
Kalle
6bfdfecd27 Remove THROW_ON_AUTH_ERROR 2023-09-28 21:25:07 +03:00
Kalle
3412597fd9 Change session cookie name 2023-09-27 01:18:55 +03:00
Kalle
cf19bc7054 Add error log when finishing auth fails 2023-09-27 01:18:55 +03:00
Kalle
743c721e7b Token call behind GW 2023-09-26 19:44:23 +03:00
Kalle
587556b55b Restructure auth code + debug logs 2023-09-24 23:12:01 +03:00
Kalle
1394608e01 Try including domain in session cookie 2023-09-24 23:09:03 +03:00
Kalle
c12d8f3e65 Auth via gateway 2023-09-24 14:25:11 +03:00
Kalle
43de8b53c1 Fix users without avatar not being able to use bot to log in 2023-09-15 00:28:09 +03:00
Kalle
d37fb57a73 Fix login link for prod 2023-09-09 13:28:02 +03:00
Kalle
4eaeb48136
Alternative login flow (magic link via bot) (#1488)
* Log in link creation initial

* Add global name to update all command

* Remove left over log

* Login command

* Update command

* Add todos

* TODOs

* Migration file fix order
2023-09-09 10:27:59 +03:00
Kalle
dab6b00c2d Update Prettier 2023-08-26 22:38:11 +03:00
Kalle
6cee16492c Make it possible to disable login 2023-08-13 10:59:08 +03:00
Kalle
20f1ea4849 THROW_ON_AUTH_ERROR feature flag 2023-08-13 09:46:43 +03:00
Kalle
f0fe425b5f return redirect -> throw redirect
For consistency but also I think sometimes the data
loading gets screwed up if you don't throw
2023-07-28 21:41:51 +03:00
Kalle
600c67f765 Use new Discord display name, make showing unique username optional Closes #1391 2023-06-17 16:02:09 +03:00
Kalle
946a287b96 Introduce getUserId and requireUserId
Idea is to avoid doing DB calls when all we need
is just the user's id.
2023-01-14 13:45:06 +02:00
Kalle
bc892dc2fb Fix TS error 2022-10-21 22:15:15 +03:00
Remmy Cat Stock
ab98a106bb
Show dialog for failed login attempts 2022-10-20 22:40:34 +02:00
Kalle
395be2f95f Upgrade deps 2022-09-04 18:57:56 +03:00
Kalle
4888fc248c Try Cypress in Github Actions 6 2022-07-08 14:27:16 +03:00
Kalle
67c8b2c449 Improve getting started with project experience 2022-07-06 11:02:23 +03:00
Kalle
5544a489a0 Add max-age to login cookie for persisting 2022-06-24 11:02:07 +03:00
Kalle
b633562f7e More graceful 404's 2022-06-18 23:37:57 +03:00
Kalle
c7a50ded65 Impersonate users in prod 2022-06-18 15:51:17 +03:00
Kalle
77cadcb06d Move useUser to modules/auth 2022-06-11 11:34:25 +03:00
Kalle
1c1d8dd6fe Move auth to modules 2022-06-11 11:21:06 +03:00