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
NIAD-3112 - Regenerate the Authorization token before each GPC request (#761)
* Regenerate the Authorization token before each GPC request
That way the token is always "fresh".
* [NIAD-3112] Minor adjustments.
* [NIAD-3112] Add additional verifications to tests within GpcWebClientTest.java
* [NIAD-3112] Modified verifications to be stricter in nature
* [NIAD-3112] Update CHANGELOG.md to include fixes
* [NIAD-3112] Added test to ensure tokens are present within Authorization header.
* [NIAD-3112] Addressed PR comment https://github.com/NHSDigital/integration-adaptor-gp2gp/pull/758/files#r1639807041 and https://github.com/NHSDigital/integration-adaptor-gp2gp/pull/758/files#r1639804884
* [NIAD-3112] Tidied up logic.
* [NIAD-3112] Tidied up logic.
* [NIAD-3112] Improvements, renamed variable.
* [NIAD-3112] Add comment.
* [NIAD-3112] Enhance test readability, reduced clutter.
* [NIAD-3112] Remove wildcard imports.
---------
Co-authored-by: Adrian Clay <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [Unreleased]
8
8
9
+
### Fixed
10
+
11
+
* The GPCC Adaptor JWT token is now refreshed with every request to prevent expiration issues during retries and ensure continuous, uninterrupted access; previously, we were seeing the JWT expire when a request failed and retried.
0 commit comments