bcgov / NRPTI

Natural Resources Public Transparency Initiative
Apache License 2.0
5 stars 15 forks source link

Token Refresh for CORE Importer #1165

Closed davidclaveau closed 2 months ago

davidclaveau commented 10 months ago

Describe the task We need to implement a setup where we refresh our Keycloak token when we are pulling data from the CORE importer so that we don't receive 403 errors partway through the import process.

Purpose The SSO Team extended NRPTI's Keycloak token to be 20 minutes - up from its previous 5 minutes. This is a suitable temporary fix, but a better fix would be to check the token - and refresh it as needed - periodically throughout the import.

Acceptance Criteria

Additional context