-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Authentication to API #12
Commits on Jun 10, 2021
-
- Added starting points for user authentication and authorization
- Added `BYPASS_SCHOOL_AUTH` as option to skip school auth (when developing) - Added auth service to deal with creating and checking validation - Added ensure user function to get or create a user based on schools auth info - Added /login to user controller - Updated user.schoolId to be unique in DB - Added new shared types (for use in client) - Enabled strict null checking (this should have been on from the start) - Fixed some errors that the compiler told me about once that was on - Potentially missing status codes in serializers - issues with querying in the users.service
Configuration menu - View commit details
-
Copy full SHA for 0393f2e - Browse repository at this point
Copy the full SHA 0393f2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e9a5ea - Browse repository at this point
Copy the full SHA 8e9a5eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca79be3 - Browse repository at this point
Copy the full SHA ca79be3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4325775 - Browse repository at this point
Copy the full SHA 4325775View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3defe76 - Browse repository at this point
Copy the full SHA 3defe76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1394545 - Browse repository at this point
Copy the full SHA 1394545View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68d4d87 - Browse repository at this point
Copy the full SHA 68d4d87View commit details -
[WIP] Implement additional JWT controls
Adds additional JWT fields for validation as well as ensures that the signing algorithms and keys are validated. Additional changes and cleanup to come. ---WIP--- Currently in a working state - however additional validation needs to be performed and lots of cleanup/restructure to follow. (Consider collapsing all the x.config.json files into a single yaml config file organized by domain with optional ENV var overrides for each?)
Configuration menu - View commit details
-
Copy full SHA for 699e34a - Browse repository at this point
Copy the full SHA 699e34aView commit details -
Updated login controller to support developer login correctly
Fixed issue with json body not being seen on the request Updated developer provider settings Added developer login validations Updated login routes to follow above changes
Configuration menu - View commit details
-
Copy full SHA for acfc209 - Browse repository at this point
Copy the full SHA acfc209View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3f1ce0 - Browse repository at this point
Copy the full SHA b3f1ce0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed78f81 - Browse repository at this point
Copy the full SHA ed78f81View commit details
Commits on Jun 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e14a896 - Browse repository at this point
Copy the full SHA e14a896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32d1264 - Browse repository at this point
Copy the full SHA 32d1264View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1487d9 - Browse repository at this point
Copy the full SHA f1487d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d0f1dd - Browse repository at this point
Copy the full SHA 2d0f1ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 749691e - Browse repository at this point
Copy the full SHA 749691eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b29ea7f - Browse repository at this point
Copy the full SHA b29ea7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 440f3c7 - Browse repository at this point
Copy the full SHA 440f3c7View commit details -
Implement SAML Metadata endpoint
Implements saml metadata endpoint for pulling SP metadata by the IDP
Configuration menu - View commit details
-
Copy full SHA for 87ddda5 - Browse repository at this point
Copy the full SHA 87ddda5View commit details
Commits on Jun 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 68af998 - Browse repository at this point
Copy the full SHA 68af998View commit details -
Configuration menu - View commit details
-
Copy full SHA for c531446 - Browse repository at this point
Copy the full SHA c531446View commit details -
Configuration menu - View commit details
-
Copy full SHA for dade184 - Browse repository at this point
Copy the full SHA dade184View commit details
Commits on Jun 15, 2021
-
- Added starting points for user authentication and authorization
- Added `BYPASS_SCHOOL_AUTH` as option to skip school auth (when developing) - Added auth service to deal with creating and checking validation - Added ensure user function to get or create a user based on schools auth info - Added /login to user controller - Updated user.schoolId to be unique in DB - Added new shared types (for use in client) - Enabled strict null checking (this should have been on from the start) - Fixed some errors that the compiler told me about once that was on - Potentially missing status codes in serializers - issues with querying in the users.service
Configuration menu - View commit details
-
Copy full SHA for dcd37e3 - Browse repository at this point
Copy the full SHA dcd37e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05f5f7a - Browse repository at this point
Copy the full SHA 05f5f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fa712f - Browse repository at this point
Copy the full SHA 1fa712fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9812125 - Browse repository at this point
Copy the full SHA 9812125View commit details -
Configuration menu - View commit details
-
Copy full SHA for f95d1d6 - Browse repository at this point
Copy the full SHA f95d1d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f10b46 - Browse repository at this point
Copy the full SHA 8f10b46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8279f47 - Browse repository at this point
Copy the full SHA 8279f47View commit details -
[WIP] Implement additional JWT controls
Adds additional JWT fields for validation as well as ensures that the signing algorithms and keys are validated. Additional changes and cleanup to come. ---WIP--- Currently in a working state - however additional validation needs to be performed and lots of cleanup/restructure to follow. (Consider collapsing all the x.config.json files into a single yaml config file organized by domain with optional ENV var overrides for each?)
Configuration menu - View commit details
-
Copy full SHA for f2916ce - Browse repository at this point
Copy the full SHA f2916ceView commit details -
Updated login controller to support developer login correctly
Fixed issue with json body not being seen on the request Updated developer provider settings Added developer login validations Updated login routes to follow above changes
Configuration menu - View commit details
-
Copy full SHA for a699087 - Browse repository at this point
Copy the full SHA a699087View commit details -
Configuration menu - View commit details
-
Copy full SHA for c48fa2f - Browse repository at this point
Copy the full SHA c48fa2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf24e0f - Browse repository at this point
Copy the full SHA cf24e0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eaf1dd3 - Browse repository at this point
Copy the full SHA eaf1dd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21aac0d - Browse repository at this point
Copy the full SHA 21aac0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for efeea26 - Browse repository at this point
Copy the full SHA efeea26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c975e0 - Browse repository at this point
Copy the full SHA 4c975e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fe5ab9 - Browse repository at this point
Copy the full SHA 9fe5ab9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f170da3 - Browse repository at this point
Copy the full SHA f170da3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 406be7b - Browse repository at this point
Copy the full SHA 406be7bView commit details -
Implement SAML Metadata endpoint
Implements saml metadata endpoint for pulling SP metadata by the IDP
Configuration menu - View commit details
-
Copy full SHA for 17202a5 - Browse repository at this point
Copy the full SHA 17202a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e8866c - Browse repository at this point
Copy the full SHA 4e8866cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 956d096 - Browse repository at this point
Copy the full SHA 956d096View commit details -
Configuration menu - View commit details
-
Copy full SHA for c59dea7 - Browse repository at this point
Copy the full SHA c59dea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d04680 - Browse repository at this point
Copy the full SHA 0d04680View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a67afa - Browse repository at this point
Copy the full SHA 6a67afaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba4d32c - Browse repository at this point
Copy the full SHA ba4d32cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77e912f - Browse repository at this point
Copy the full SHA 77e912fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8af6aba - Browse repository at this point
Copy the full SHA 8af6abaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 104c75f - Browse repository at this point
Copy the full SHA 104c75fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 926f7b8 - Browse repository at this point
Copy the full SHA 926f7b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f08064 - Browse repository at this point
Copy the full SHA 7f08064View commit details -
Configuration menu - View commit details
-
Copy full SHA for e79afac - Browse repository at this point
Copy the full SHA e79afacView commit details -
Configuration menu - View commit details
-
Copy full SHA for c01c041 - Browse repository at this point
Copy the full SHA c01c041View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad29543 - Browse repository at this point
Copy the full SHA ad29543View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9d3dcc - Browse repository at this point
Copy the full SHA a9d3dccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c46cb - Browse repository at this point
Copy the full SHA 78c46cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8ef9b8 - Browse repository at this point
Copy the full SHA c8ef9b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 179e7d8 - Browse repository at this point
Copy the full SHA 179e7d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for be83a1d - Browse repository at this point
Copy the full SHA be83a1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f7b14a - Browse repository at this point
Copy the full SHA 4f7b14aView commit details
Commits on Jun 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7c4cf47 - Browse repository at this point
Copy the full SHA 7c4cf47View commit details -
Merge remote-tracking branch 'origin/auth' into auth
# Conflicts: # .gitignore # .vscode/launch.json # @types/express/index.d.ts # config/default.yml.template # package-lock.json # package.json # scripts/generateConfig.sh # src/controller/login.controller.ts # src/controller/login.developer.controller.ts # src/controller/login.saml.controller.ts # src/environment.ts # src/index.ts # src/middleware/auth.middleware.ts # src/middleware/serializer/tests/users.serializer.test.ts # src/middleware/serializer/users.serializer.ts # src/migration/1623375449310-tightenUpUserModel.ts # src/router/login.developer.router.ts # src/router/login.router.ts # src/router/login.saml.router.ts # src/services/auth.service.ts # src/utils/passport.utils.ts # src/utils/passport/saml.passport.ts # tsconfig.json
Configuration menu - View commit details
-
Copy full SHA for 1c4081b - Browse repository at this point
Copy the full SHA 1c4081bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74b2279 - Browse repository at this point
Copy the full SHA 74b2279View commit details
Commits on Jun 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5738581 - Browse repository at this point
Copy the full SHA 5738581View commit details -
Apply suggestions from code review
Typeos from github Co-authored-by: David Dobmeier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b99938e - Browse repository at this point
Copy the full SHA b99938eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0d3fa - Browse repository at this point
Copy the full SHA 7a0d3faView commit details
Commits on Jun 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5a7a31a - Browse repository at this point
Copy the full SHA 5a7a31aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5dc747 - Browse repository at this point
Copy the full SHA e5dc747View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48826b3 - Browse repository at this point
Copy the full SHA 48826b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aaebdd - Browse repository at this point
Copy the full SHA 5aaebddView commit details -
Configuration menu - View commit details
-
Copy full SHA for af6357a - Browse repository at this point
Copy the full SHA af6357aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1835081 - Browse repository at this point
Copy the full SHA 1835081View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ce6127 - Browse repository at this point
Copy the full SHA 7ce6127View commit details
Commits on Jun 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 74cb0ed - Browse repository at this point
Copy the full SHA 74cb0edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60672a1 - Browse repository at this point
Copy the full SHA 60672a1View commit details