-
Notifications
You must be signed in to change notification settings - Fork 3
Migrate pertinent parts of mozilla-django-oidc into api repo #892
Description
Business Reason
As a developer, we currently maintain a customized fork of the mozilla OIDC package which can poses maintenance challenges with syncing with upstream changes and managing versions used within the fecfile-web-api repository. In addition, the FECFile Online API only uses a subset of the code in the OIDC fork further complicating maintenance.
Task: To pull the parts of the OIDC code that is used by the FECFile Online API into the fecfile-web-api repository. The migrated code will need to be credited to the original authors and repository. The migrated code should be isolated in its own code space within the fecfile-web-api code base so that it can be easily identified and integrated into the main API application.
Dev notes
- Please update the
cryptographyversion in the api requirements.txt. The current value had to match the version in the Mozilla package to avoid conflicts.
Deploy notes:
On deploy to each environment, in the login dot gov dashboard edit the following “redirect URIs” and change /api/v1/auth/logout-redirect to /api/v1/oidc/logout-redirect and /oidc/callback/ to /api/v1/oidc/callback (note the trailing slash removal)
- DEV
- [] STAGE
- [] PROD
QA Notes
Ticket passes if users are able to log into DEV using Login.gov
DEV Notes
null
Design
null
See full ticket and images here: FECFILE-1396