You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use a custom TYPO3 API token to access the TER REST API. This token expires after one year and the refresh process is done manually. This easily leads to a downtime of the whole TYPO3 Badges API, if the token is not refreshed on time and expires.
Describe the solution you'd like
Since TER REST API provides an endpoint to refresh an active token, we can simply use this endpoint with an automated process instead of doing everything manually.
For this, the following resources need to be implemented:
Access + refresh token storage in database (SQLite should be enough) rather than .env
Service to refresh an access token
Console command to call this service
Cronjob to call the console command
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
We use a custom TYPO3 API token to access the TER REST API. This token expires after one year and the refresh process is done manually. This easily leads to a downtime of the whole TYPO3 Badges API, if the token is not refreshed on time and expires.
Describe the solution you'd like
Since TER REST API provides an endpoint to refresh an active token, we can simply use this endpoint with an automated process instead of doing everything manually.
For this, the following resources need to be implemented:
.env
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: