icgc-argo / platform-api

https://api.platform.icgc-argo.org/graphql
GNU Affero General Public License v3.0
0 stars 0 forks source link

update helpdesk logic to use Jira personal access tokens #712

Closed justincorrigible closed 5 months ago

justincorrigible commented 5 months ago

The ARGO platform contact form was borked by changes in auth management at the Helpdesk API. Our Jira server's Basic auth now requires captchas, etc. so this app hasn't been able to submit new tix since summer 2023.

This PR changes the way we do auth to use Jira PATs (same user as before, see credentials in prod vault). It also improves the error handling for that section of the app, so the pod doesn't crash if Jira becomes unreachable for a different reason, or similar issues arise later on.

Along the way, I've added a couple goodies: