Commit Graph

46 Commits

Author SHA1 Message Date
James
49ebdaa1ec binds all API routes to api prefix route, refactors to support 2020-04-01 15:21:31 -04:00
James
c852c80c52 builds unstyled modal to refresh token or log out 2020-03-31 19:57:27 -04:00
James
c69b7c24b6 adjusts refresh route to use header instead of json body, removes jwt-decode dependency in favor of using jsonwebtoken 2020-03-31 18:53:24 -04:00
James
4764cc5a54 revises bug with improperly copying object within secureConfig 2020-03-31 16:59:59 -04:00
James
0b2f7686ec simplifies first-register logic 2020-03-31 14:56:11 -04:00
James
9bee23d589 replaces a few more JWT secret configs from ENV and fixes bug while bootstrapping user 2020-03-29 20:46:35 -04:00
James
895149f4a5 removes unused arguments in forgot password routes 2020-03-29 20:04:38 -04:00
James
fc874be72a revises and simplifies forgot password routes 2020-03-29 19:58:52 -04:00
James
bead4d51bc removes reliance on process.env in favor of using config in auth routes 2020-03-29 19:27:43 -04:00
Dan Ribbens
509031bbfe add refresh endpoint to refresh auth token 2020-03-29 08:55:51 -04:00
James
f79cfac31f uses URLSearchParams to send form data, ensures Repeater receives proper values from API, misc bugs on backend 2020-01-25 16:09:44 -05:00
James
5a60d1f221 fixes bug with null policies never returning 2020-01-23 12:52:14 -05:00
James
7fbfd05c73 continues relationship field build out 2020-01-23 12:05:40 -05:00
James
e6e0b7a524 removes import / export from src 2020-01-21 12:46:27 -05:00
James
349a3c5c87 revises error handling 2020-01-19 21:46:35 -05:00
James
2501cc6e3f removes unused code 2020-01-19 21:23:12 -05:00
James
125f177e12 adds mount hook, uses it to format select input appropriately 2020-01-19 21:22:51 -05:00
James
519330e20e wires up User context 2020-01-19 20:32:26 -05:00
James
4a62a73005 wires up create first user to auto redirect to dashboard afterward 2020-01-19 19:51:06 -05:00
James
2e9eb8efed better unauthorized message 2020-01-19 15:09:56 -05:00
James
b6231925bc scaffolds RenderFields, moves Init into Routes 2020-01-19 15:04:31 -05:00
James
4bf0ff2b05 enables loading config within webpack 2020-01-05 18:16:19 -05:00
James
618d6dc19b singularizes Upload and User 2019-12-31 17:38:23 -05:00
Dan Ribbens
d0dad185ae return status unauthorized when not logged in 2019-12-27 14:36:19 -05:00
Dan Ribbens
41304da9a9 add anonymous strategy and show examples of custom policies of Page 2019-12-27 14:33:49 -05:00
James
dcfa909a35 revises the way that the config sends back collections and globals 2019-12-21 20:00:31 -05:00
James
8298fe8643 flattens content blocks and collections, cleans index.js, implements Airbnb ESLint 2019-12-21 15:54:30 -05:00
Elliot DeNolf
136a6748a0 feature(first-register): add first-register routes and pull out auth.routes.js 2019-10-17 16:43:48 -04:00
Elliot DeNolf
9f4957dfe7 refactor(pw-reset): remove token validity route 2019-10-17 14:24:29 -04:00
Elliot DeNolf
5ba1f86da1 refactor(pw-reset): organize password reset util functions 2019-10-17 12:25:19 -04:00
Elliot DeNolf
55aa823584 fix(pw-reset): add back missing fields after large refactor 2019-10-17 12:00:27 -04:00
Dan Ribbens
f593909e78 cleanup and change all require() to import 2019-10-03 15:50:49 -04:00
Dan Ribbens
b4a4ac6102 refactor directory structure 2019-09-30 09:49:36 -04:00
Dan Ribbens
d1f399be09 clean up unused file 2019-09-23 20:12:04 -04:00
Dan Ribbens
3d026a201b cleanup unused user files in demo 2019-09-23 13:56:35 -04:00
Dan Ribbens
59ac3050ce user auth, email, password resets all controlled by the user config 2019-09-23 12:52:53 -04:00
Elliot DeNolf
bba94a4415 Cleanup and renaming 2019-03-19 23:57:19 -04:00
James
3813f0da91 sets JWT on all client api requests, saves cookie with jwt 2019-01-06 15:55:28 -05:00
Elliot DeNolf
58d13f4ceb Add sample role middleware to router 2018-12-26 23:24:58 -05:00
Elliot DeNolf
3b782d001d Pass user back from jwt strategy 2018-12-26 23:02:00 -05:00
Elliot DeNolf
d8bdf45283 Properly authenticate user against DB 2018-12-16 21:51:00 -05:00
James
46dc80d46d simplifies jwt auth 2018-12-11 22:49:21 -05:00
James
4316a7691a provides User model access to jwt authentication route 2018-12-11 22:43:22 -05:00
James
6c775d21e5 adds auth, jwt 2018-12-10 21:52:36 -05:00
James
19a7c409b0 connects login, createUser to client, moves register to User model 2018-11-07 19:45:26 -05:00
James
3d79f47cec refactors some Auth methods to package 2018-10-29 20:31:58 -04:00