Commit graph

2796 commits

Author SHA1 Message Date
Jackson Harper
b7190647ca Consistent UI on the confirm email page 2022-07-26 17:23:05 -07:00
Jackson Harper
c80270ae81 Update expected redirect URLs in tests 2022-07-26 15:58:38 -07:00
Jackson Harper
779ff1f020 Reset password is a directory now 2022-07-26 15:57:40 -07:00
Jackson Harper
65689ca538 Remove extra /auth in paths 2022-07-26 15:57:18 -07:00
Jackson Harper
3c442c06ba Set auth token cookie on success login 2022-07-26 15:56:40 -07:00
Jackson Harper
8b072ab094 Update expected URLs for tests
- after email is sent the user is redirected to an information page
- after login the user is redirected through the sso page
2022-07-26 15:18:56 -07:00
Jackson Harper
6cad41ec1e Linting fixes 2022-07-26 15:00:31 -07:00
Jackson Harper
769c9b23b0 Use SSO redirection to set both client and server cookies with email login 2022-07-26 14:48:24 -07:00
Jackson Harper
e939f12eb1 Remove unneeded branches 2022-07-26 14:28:39 -07:00
Jackson Harper
1666fbe4d5 Update auth components directory 2022-07-26 14:21:33 -07:00
Jackson Harper
074ec781a2 Set auth cookie after reseting password 2022-07-26 12:46:13 -07:00
Jackson Harper
dc268a2216 Handle resetting passwords 2022-07-26 12:33:56 -07:00
Jackson Harper
acd36fe9af Move auth routes into /auth folder 2022-07-26 10:31:45 -07:00
Jackson Harper
a335bfacfc Add verify email component, make email reset url match backend naming 2022-07-25 23:29:56 -07:00
Hongbo Wu
072b2dd9c5 Revert "Add Set-Cookie header"
This reverts commit cb23613cdc.
2022-07-26 14:12:37 +08:00
Jackson Harper
2d9f4a0194 Redirect to the verify-email informational page after sign up 2022-07-25 23:09:01 -07:00
Hongbo Wu
b86c3a2c51 Merge branch 'fix/email-login-pages' of github.com:omnivore-app/omnivore into fix/email-login-pages 2022-07-26 14:07:03 +08:00
Hongbo Wu
cb23613cdc Add Set-Cookie header 2022-07-26 14:06:11 +08:00
Jackson Harper
20dad1bd3f Use form to submit so we redirect to sso endpoint correctly 2022-07-25 22:58:59 -07:00
Hongbo Wu
dca9066f19 Continue fix RLS issue of updating user table 2022-07-26 13:41:02 +08:00
Hongbo Wu
29ed803ae5 Fix RLS issue of updating user table 2022-07-26 13:31:36 +08:00
Jackson Harper
cf5c7d98b9 Add confirm email landing page 2022-07-25 21:46:27 -07:00
Jackson Harper
f0c75d4d56
Merge pull request #1016 from omnivore-app/chore/apple-web-credential
Apple App Association: Webcredentials
2022-07-25 17:09:35 -07:00
Jackson Harper
340d5af3f7
Merge pull request #1011 from omnivore-app/feat/web-delete-my-account
Add web page to delete accounts
2022-07-25 16:23:22 -07:00
Jackson Harper
efc62600f4
Merge pull request #989 from omnivore-app/feature/email-login-and-registration
email-login, email-signup, confirm-email and reset-password router
2022-07-25 15:47:51 -07:00
Satindar Dhillon
09f9f19182 add webcredentials to apple site assoc file 2022-07-25 15:35:26 -07:00
Hongbo Wu
82da9e6ede use sendgrid template for confirmation and password-reset email 2022-07-25 15:14:01 -07:00
Hongbo Wu
8d5da15064 use template id stored in env 2022-07-25 15:14:01 -07:00
Hongbo Wu
fe180c5b50 add confirm-email and password-reset email template id in env 2022-07-25 15:14:01 -07:00
Hongbo Wu
560f95b57e fix test 2022-07-25 15:14:01 -07:00
Hongbo Wu
43d2216983 fix test 2022-07-25 15:14:01 -07:00
Hongbo Wu
024d4bd25c stop referring to user entity before migration 2022-07-25 15:14:01 -07:00
Hongbo Wu
bd77a7f8ee add test for reset password 2022-07-25 15:14:01 -07:00
Hongbo Wu
6699ec834d add router handler for reset password 2022-07-25 15:14:01 -07:00
Hongbo Wu
286d167769 add router handler for email reset password 2022-07-25 15:14:01 -07:00
Hongbo Wu
53fd7f52df delete user after testing 2022-07-25 15:14:01 -07:00
Hongbo Wu
bab96aaa1e remove membership from user 2022-07-25 15:14:01 -07:00
Hongbo Wu
ea9d98aa95 make confirm-email a post api 2022-07-25 15:14:01 -07:00
Hongbo Wu
4c75260229 replace hard-coded email address with env var for the remaining files 2022-07-25 15:14:01 -07:00
Hongbo Wu
a87f75f319 add test for confirm-email router 2022-07-25 15:14:01 -07:00
Hongbo Wu
e4ea49c05f add confirm-email router 2022-07-25 15:14:01 -07:00
Hongbo Wu
9ea9bd9ea1 send confirmation email to pending user when login 2022-07-25 15:14:01 -07:00
Hongbo Wu
bd2327a3ae test set auth token after login 2022-07-25 15:14:01 -07:00
Hongbo Wu
abb1a414c1 remove login gql resolver 2022-07-25 15:13:58 -07:00
Hongbo Wu
86b950183c fix test 2022-07-25 15:13:32 -07:00
Hongbo Wu
f7053622a5 remove signup gql resolver 2022-07-25 15:13:30 -07:00
Hongbo Wu
80639311d7 improve confirmation email format 2022-07-25 15:12:56 -07:00
Hongbo Wu
068684d16b add test for failing to send confirmation email when signup 2022-07-25 15:12:56 -07:00
Hongbo Wu
d284a3d302 fake sendMail in sign up test 2022-07-25 15:12:56 -07:00
Hongbo Wu
638294e17b fake sendMail in testing 2022-07-25 15:12:56 -07:00