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

STCOR-776 RTR adjustments for keycloak #1490

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

zburke
Copy link
Member

@zburke zburke commented Jun 11, 2024

There are many small differences in how keycloak and okapi respond to authentication related requests.

  • permissions are structured differently in Okapi between login and _self requests and depending on whether expandPermissions=true is present on the request; keycloak always responds with a flattened list.
  • token expiration data is nested in the login-response in Okapi but is a root-level element in the /authn/token response from keycloak.

Refs STCOR-776, STCOR-846

There are many small differences in how keycloak and okapi respond to
authentication related requests.
* permissions are structured differently in Okapi between `login` and
  `_self` requests and depending on whether `expandPermissions=true` is
  present on the request; keycloak always responds with a flattened
  list.
* token expiration data is nested in the login-response in Okapi but is
  a root-level element in the `/authn/token` response from keycloak.

STCOR-776, STCOR-846
Copy link

github-actions bot commented Jun 11, 2024

Jest Unit Test Results

254 tests  ±0   254 ✅ ±0   1m 0s ⏱️ +4s
 50 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 11b3618. ± Comparison against base commit cc773c6.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jun 11, 2024

Bigtest Unit Test Results

192 tests  ±0   187 ✅ ±0   6s ⏱️ -1s
  1 suites ±0     5 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 11b3618. ± Comparison against base commit cc773c6.

♻️ This comment has been updated with latest results.

Copy link

sonarcloud bot commented Jun 11, 2024

@zburke zburke merged commit 2e162f6 into keycloak-ramsons-rebase Jun 11, 2024
26 checks passed
@zburke zburke deleted the STCOR-776-keycloak branch June 11, 2024 18:34
zburke added a commit that referenced this pull request Jul 25, 2024
There are many small differences in how keycloak and okapi respond to
authentication related requests.
* permissions are structured differently in Okapi between `login` and
  `_self` requests and depending on whether `expandPermissions=true` is
  present on the request; keycloak always responds with a flattened
  list.
* token expiration data is nested in the login-response in Okapi but is
  a root-level element in the `/authn/token` response from keycloak.

STCOR-776, STCOR-846

(cherry picked from commit 2e162f6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant