Skip to content

Finish fresh access token - #5

Merged
SomeBdyElse merged 8 commits into
masterfrom
finish-fresh-access-token
Oct 7, 2025
Merged

SomeBdyElse merged 8 commits into
masterfrom
finish-fresh-access-token

Conversation

@d-s-codappix

Copy link
Copy Markdown

No description provided.

@d-s-codappix d-s-codappix self-assigned this Sep 30, 2025
@d-s-codappix
d-s-codappix force-pushed the finish-fresh-access-token branch 7 times, most recently from fa037cb to 9f963bd Compare September 30, 2025 13:30
The extension states it is compatible with TYPO3 12 and 13, but only had
13 within require-dev, breaking local and CI setup for TYPO3 13.
The project already has a `.php-cs-fixer.dist.php` file, but missed the
dependency, this is now added.
As this project is hosted on GitHub and already has tests and CGL, etc.
This should be run on CI to ensure it is always checked for all
contributions.
The changes affected the code under test, but the test was not adopted.
The new class `OidcConfiguration` is final and can't be stubbed.
We therefore need to use `GeneralUtility::addInstance()` to not touch
existing code.
@d-s-codappix
d-s-codappix force-pushed the finish-fresh-access-token branch from 9f963bd to 7c1ef3c Compare October 7, 2025 09:23
liayn and others added 4 commits October 7, 2025 11:26
In order to ease development of missing tests.
Use early return to reduce nesting level and make code easier to read.
The method already existed, but did not return the fresh token.

The new token is saved for later usage, to not force API users to update
settings of service to still work, e.g. for long running processes where
the token might expire again.
@d-s-codappix
d-s-codappix force-pushed the finish-fresh-access-token branch from 7c1ef3c to 4f7e792 Compare October 7, 2025 11:21
@SomeBdyElse
SomeBdyElse merged commit 85b3e1f into master Oct 7, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants