tjcsl / ion

TJ Intranet 3
https://ion.tjhsst.edu
GNU General Public License v2.0
100 stars 91 forks source link

Add values_list("token, "expires") to reduce CSL Apps load time (Closes Issue #1663) #1681

Closed devsrivv closed 6 months ago

devsrivv commented 6 months ago

Proposed changes

Brief description of rationale

Instead of retrieving all of the fields from the AccessToken object (which leads to slower load times), only retrieve necessary fields to filter the most recent Token. In turn, this will improve the load time of CSL apps.

1663