console/integration-tests
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
..
fixtures feat: always log unexpected errors (#215) 2022-07-01 11:25:34 +02:00
scripts chore: only mess with the filename not the path (#194) 2022-06-28 11:02:32 +02:00
testkit feat: replace auth0 with supertokens (#303) 2022-09-06 09:38:31 +02:00
tests feat: replace auth0 with supertokens (#303) 2022-09-06 09:38:31 +02:00
.env.template feat: replace auth0 with supertokens (#303) 2022-09-06 09:38:31 +02:00
.gitignore $ prettier <all> (#46) 2022-05-24 16:31:53 +03:00
docker-compose.yml feat: replace auth0 with supertokens (#303) 2022-09-06 09:38:31 +02:00
dockest.ts Initial Emails service (#261) 2022-08-12 14:51:09 +02:00
jest-setup.ts Use Slonik v30 (#282) 2022-08-11 10:58:36 +02:00
package.json feat: replace auth0 with supertokens (#303) 2022-09-06 09:38:31 +02:00
run-emails.sh Initial Emails service (#261) 2022-08-12 14:51:09 +02:00
run-local-cdn.sh Hello 2022-05-18 09:26:57 +02:00
run-migrations.sh Hello 2022-05-18 09:26:57 +02:00
run-rate-limit.sh Hello 2022-05-18 09:26:57 +02:00
run-schema.sh Hello 2022-05-18 09:26:57 +02:00
run-server.sh Hello 2022-05-18 09:26:57 +02:00
run-stripe-billing.sh Hello 2022-05-18 09:26:57 +02:00
run-tokens.sh Hello 2022-05-18 09:26:57 +02:00
run-usage-estimator.sh Hello 2022-05-18 09:26:57 +02:00
run-usage-ingestor.sh Hello 2022-05-18 09:26:57 +02:00
run-usage.sh Hello 2022-05-18 09:26:57 +02:00
run-webhooks.sh Hello 2022-05-18 09:26:57 +02:00