Skip to content

RTR-1-3: Update TokenHeader to utilize the Access Token.#4

Merged
kaladay merged 1 commit intortr_sprint2-stagingfrom
rtr_sprint2-3-support_folioaccesstoken
Oct 17, 2025
Merged

RTR-1-3: Update TokenHeader to utilize the Access Token.#4
kaladay merged 1 commit intortr_sprint2-stagingfrom
rtr_sprint2-3-support_folioaccesstoken

Conversation

@kaladay
Copy link

@kaladay kaladay commented Oct 17, 2025

Part of #1 .
Resolves #3 .

Add okapi.auth.accessCookieName configuration that defaults to folioAccessToken.
Extend TokenHeaderResolver to accept the newly added okapi.auth.accessCookieName.

Process the web request and return the Cookie, if found.
If the cookie is not found, then attempt to return the X-Okapi-Tenant header value.

Update the unit tests as appropriate.

Add `okapi.auth.accessCookieName` configuration that defaults to `folioAccessToken`.
Extend `TokenHeaderResolver` to accept the newly added `okapi.auth.accessCookieName`.

Process the web request and return the Cookie, if found.
If the cookie is not found, then attempt to return the `X-Okapi-Tenant` header value.

Update the unit tests as appropriate.
@kaladay kaladay merged commit 5e6dc16 into rtr_sprint2-staging Oct 17, 2025
@kaladay kaladay mentioned this pull request Oct 27, 2025
@kaladay kaladay deleted the rtr_sprint2-3-support_folioaccesstoken branch October 29, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants