Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update get_username function (#365)
### Issue NASA-IMPACT/veda-data-airflow#134 #347 ### What? - Update get_username to fall back on `sub` if `username` doesn't exist in token - Added some more logging statements to make debugging easier in the future ### Why? - This fix is to enable a successful workflows API run since the workflow API passes a token to backend API and it's currently erroring - Also, `sub` is a more definitive identifier because it represents a unique identifier compared to `username` ### Testing? - Relevant testing details
- Loading branch information