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

STCLI-221 handle access-control via cookies #335

Merged
merged 9 commits into from
Oct 9, 2023
Merged

STCLI-221 handle access-control via cookies #335

merged 9 commits into from
Oct 9, 2023

Conversation

zburke
Copy link
Member

@zburke zburke commented Sep 8, 2023

Handle access-control via access-token and refresh-token cookies instead of storing and passing the X-Okapi-Token HTTP request header. The AT is transparently refreshed when it expires as long as the RT is still valid.

Replace node-fetch-npm with minipass-fetch, because it was easy and I was in there and we meant to do this eons ago.

Refs STCLI-221, FOLIO-3627, STCLI-214

Handle access-control via access-token and refresh-token cookies instead
of storing and passing the `X-Okapi-Token` HTTP request header. The AT
is transparently refreshed when it expires as long as the RT is still
valid.

Replace node-fetch-npm with minipass-fetch, because it was there.

Refs STCLI-221, FOLIO-3627, STCLI-214
@github-actions
Copy link

github-actions bot commented Sep 8, 2023

Jest Unit Test Statistics

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit 91d6d45. ± Comparison against base commit a4f1e7a.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

BigTest Unit Test Statistics

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit e9cbc19. ± Comparison against base commit 0fa0e82.

♻️ This comment has been updated with latest results.

@zburke zburke requested review from steveellis, JohnC-80 and a team September 10, 2023 12:45
@zburke zburke marked this pull request as ready for review September 10, 2023 12:45
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 9, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

79.3% 79.3% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@zburke zburke merged commit 23509fc into master Oct 9, 2023
@zburke zburke deleted the FOLIO-3627 branch October 9, 2023 21:09
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.

2 participants