Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Automatic TYPO3 API token handling #734

Open
4 tasks
eliashaeussler opened this issue Jun 14, 2023 · 1 comment
Open
4 tasks

[FEATURE] Automatic TYPO3 API token handling #734

eliashaeussler opened this issue Jun 14, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@eliashaeussler
Copy link
Owner

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:

  • 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

@eliashaeussler eliashaeussler added the enhancement New feature or request label Jun 14, 2023
@eliashaeussler eliashaeussler self-assigned this Jun 14, 2023
@eliashaeussler
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant