ODM2 / ODM2DataSharingPortal

A Python-Django web application enabling users to upload, share, and display data from their environmental monitoring sites via the app's ODM2 database. Data can either be automatically streamed from Internet of Things (IoT) devices, manually uploaded via CSV files, or manually entered into forms.
BSD 3-Clause "New" or "Revised" License
31 stars 8 forks source link

Cognito Integration #640

Closed ptomasula closed 1 year ago

ptomasula commented 1 year ago

@aufdenkampe @ScottEnsign @SRGDamia1

This PR completes a draft implementation of AWS Cognito integration into the application.

A previous PR #632, focused on replacing the Django User model by swapping out portions of the remaining Django data models to work with the new ODM2User model (representing the accounts table in the ODM2.1 schema). Additionally that PR plumbed in new work flows to user registration and user sign-in which are now routed through an AWS Cognito UI and back to a customized authentication backend for the application.

This PR builds on that work and re-established the accounts page within this application to allow a user to set their affiliated organization as well as modify their first name, last name, and user account. Additionally those changes will now be synced back to our AWS Cognito user pool.