console/integration-tests/testkit
Laurin Quast 6540155fc7
feat: replace auth0 with supertokens (#303)
* add supertoken container to docker-compose file

* yeah I am sorry this one big commit and I am ashamed of it

* use logOut function

* feat: show header on 404 page

* feat: better handling for organization cookie when not authenticated

* wrap it

* check session within server side props

* add is_admin flag user migration

* simplify and annotate the config

* fix: handle status codes + fix email/password sign up with import from auth0

* no hardcoded env pls

* decode process.env

* secure update user id mapping via a key

* fix: login form

* lol we don't need to hit the API

* fix: do graphql api authorization via authorization header instead of cookie

* implement isAdmin flag

* fix: types :)

* skipit

* yo we can run this

* set env variables

* disable because it annoys the hell out of me

* use the right host

* add not about token length

* refactor: decode environment variables

* feat: store external user id from guthub/google provider in the database

* workaround supertokens omitting null values from the token

* re-enable check

* i have no time for this shit

* add missing env variable

* fix: email test; missing domain extension

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

* fix: env names

* fix: link google account to the correct db record

* feat: email confirmation emails

* ?

* bump ts-node

* fix types

* omit package form the bundle

* remove it from dependencies...

* add emails apckage to dev deps

* resolve eslint issues

* remove comments

* update dev info + change env variable (no need to expose it on the frontend)

* use correct user id lol

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2022-09-06 09:38:31 +02:00
..
auth.ts feat: replace auth0 with supertokens (#303) 2022-09-06 09:38:31 +02:00
cli.ts Improve integration tests of CLI (#174) 2022-06-24 16:51:53 +02:00
clickhouse.ts Implement new ClickHouse DB structure (#304) 2022-08-23 12:53:22 +02:00
db.ts Use Slonik v30 (#282) 2022-08-11 10:58:36 +02:00
dockest.ts Improve integration-tests setup (#160) 2022-06-23 10:55:43 +02:00
emails.ts Initial Emails service (#261) 2022-08-12 14:51:09 +02:00
env.ts $ prettier <all> (#46) 2022-05-24 16:31:53 +03:00
flow.ts New invitation system (#315) 2022-08-25 21:01:37 +02:00
graphql.ts feat: replace auth0 with supertokens (#303) 2022-09-06 09:38:31 +02:00
redis.ts $ prettier <all> (#46) 2022-05-24 16:31:53 +03:00
usage.ts Migrate X-API-Token to Authorization header (#122) 2022-07-01 11:43:27 +02:00