MoTrPAC / motrpac-frontend

User interface and Frontend for MoTrPAC Bioinformatics Center
MIT License
3 stars 0 forks source link

Search functionality enhancement - generate auth token per search API request #193

Open jimmyzhen opened 2 years ago

jimmyzhen commented 2 years ago

Current implementation of using pre-generated auth token to call the search API is not sustainable because the expiring token needs to be updated periodically. We need to change the implementation so that a short-lived auth token is generated (possibly using client id or something similar) for each API call.