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-875 merge eureka work to mainline #1532

Merged
merged 66 commits into from
Sep 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
e5953fb
STCOR-769 Utilize the 'tenant' procured through the SSO login process…
usavkov-epam Mar 14, 2024
2bea8b0
leverage keycloak (authn) and kong (discovery) endpoints
zburke Dec 8, 2023
be61b76
test cleanup
zburke Dec 13, 2023
e22b146
backwards compatibility with non-keycloak environments
zburke Dec 14, 2023
20e689b
lint cleanup, console.log cleanup
zburke Dec 14, 2023
131317e
Update PreLoginLanding.js
ryandberger May 15, 2024
5139ff9
Add back button support to multi-tenant workflow (#1381)
ryandberger Dec 22, 2023
cb1a703
STCOR-773 show legacy or application-based discovery info (#1385)
zburke Jan 4, 2024
1bf2d1e
Graceful handling when provides array is null in API response (#1388)
ryandberger Jan 10, 2024
dfc2796
STCOR-790: check parsed client id, if undefined use clientId defined …
aidynoJ Jan 15, 2024
c4179dd
STCOR-795 optionally use users-keycloak endpoint for password reset (…
zburke Jan 22, 2024
08924af
STCOR-794: Disable Continue button when no tenant selected (#1400)
ryandberger Jan 22, 2024
30fb38b
STCOR-796 replace x-okapi-token credentials with RTR and cookies (#1410)
zburke Jan 31, 2024
58de751
Add opt-in "Really logout?" stripes.config.js option (#1420)
ryandberger Feb 13, 2024
a884e19
STCOR-798 Add Jest tests for SSO Landing - remove BTOG tests for the …
zburke Feb 14, 2024
f0519e5
STCOR-811 parse /authn/token response for AT/RT expirations (#1417)
zburke Feb 14, 2024
9ab368f
STCOR-812 include X-Okapi-Tenant header in /authn/logout requests (#1…
zburke Feb 14, 2024
cc558af
STCOR-813 correctly parse .../_self permissions (#1421)
zburke Feb 14, 2024
96c61d3
STCOR-770: Export getEventHandler to be able to create events in othe…
zburke Feb 14, 2024
7f8b167
STCOR-810 cleanup deprecated entitlement params (#1418)
zburke Feb 16, 2024
6ef610c
[STCOR-803] Simplify logout workflow to bypass keycloak confirmation …
ryandberger Feb 16, 2024
7e7a87c
Revert "STCOR-810 cleanup deprecated entitlement params (#1418)" (#1427)
zburke Feb 18, 2024
6ac81a5
STCOR-810 CORRECTLY clean up deprecated entitlement params (#1429)
zburke Feb 19, 2024
3d422d4
STCOR-816 only fetch /saml/check when login-saml is present (#1432)
zburke Feb 26, 2024
0a2db9d
STCOR-776 show "Keep working?" prompt when session ages (#1431)
zburke Feb 27, 2024
8eb82e7
Revert "STCOR-776 show "Keep working?" prompt when session ages (#143…
zburke Feb 29, 2024
d473e15
STCOR-821 Add `idName` and `limit` as passable props to `useChunkedCQ…
ryandberger Mar 6, 2024
9776a6a
STCOR-789: Restore original URL on login (#1442)
aidynoJ Mar 18, 2024
198d379
STCOR-820 For the /reset-password route, allow token to be specified …
ryandberger Mar 22, 2024
f0a1fdc
rebase cleanup: missed a few things along the way
zburke Mar 28, 2024
e005c51
STCOR-820 Use isEureka config value (#1450)
ryandberger Apr 5, 2024
defb2d9
STCOR-789-follow-up: Include /authn/token on the list of always-permi…
aidynoJ Apr 9, 2024
681abf1
STCOR-712 Refactor tagname selectors used in Auth-related forms. (#1449)
JohnC-80 Apr 3, 2024
75772fd
STCOR-830 user-tenant-permissions hooks/functions (#1453)
zburke Apr 11, 2024
393aea3
STCOR-769 Utilize the 'tenant' procured through the SSO login process…
usavkov-epam Mar 14, 2024
b8a39ac
STCOR-845 Redirect correctly after changing password (#1462)
ryandberger May 7, 2024
a9b860d
rebase-cleanup: the STCOR-776 rebase was a doozy
zburke May 17, 2024
eeaa34a
rebase-cleanup: restore logout
zburke May 20, 2024
5bc64ce
rebase-cleanup: restore logout AND ITS TESTS (#1479)
zburke May 23, 2024
92e6926
STCOR-853 do not include credential in /authn/token request (#1480)
zburke May 23, 2024
91ae4f9
Revert "STCOR-853 do not include credential in /authn/token request (…
zburke May 30, 2024
e738a2f
[STCOR-787] Always retrieve clientId and tenant values from config.te…
ryandberger Jun 10, 2024
cc773c6
STCOR-859 list UI apps under apps/modules/interfaces column (#1489)
zburke Jun 10, 2024
2e162f6
STCOR-776 RTR adjustments for keycloak (#1490)
zburke Jun 11, 2024
eed1ba5
STCOR-787 Fix tenant and clientId references (#1492)
ryandberger Jun 24, 2024
6201292
STCOR-864 correctly evaluate typeof stripes.okapi (#1498)
zburke Jun 25, 2024
8daa267
STCOR-865 call logout() exclusively from logout-* routes (#1500)
zburke Jul 8, 2024
bec39d5
STCOR-834: refactor useUserTenantPermissions to use _self endpoint pe…
aidynoJ Jul 15, 2024
f93f21d
STCOR-866 include `/users-keycloak/_self` in auth-n requests (#1502)
zburke Jul 16, 2024
f150e29
STCOR-867 Add permission display names lookup table to Redux (#1505)
ryandberger Jul 22, 2024
8b5274e
STCOR-862 terminate session when fixed-length session expires (#1503)
zburke Jul 22, 2024
48ca517
Add back missing reference to state (#1506)
ryandberger Jul 23, 2024
c25e068
STCOR-869 do not store /logout as a "return-to" URL (#1510)
zburke Jul 26, 2024
da01a6a
[STCOR-869] Add small margin to ensure /logout is called before cooki…
ryandberger Aug 8, 2024
3ecfebc
STCOR-872: expose queryKeys from useChunkedCQLFetch hook (#1520)
aidynoJ Aug 16, 2024
859a520
STCOR-874 provide "key" prop to SessionEventContainer elements (#1521…
zburke Aug 16, 2024
54e5eff
STCOR-873 Ensure support for the passed `tenantId` value by `useChunk…
usavkov-epam Aug 19, 2024
d3f2c20
[STCOR-876] Remember requested URL path on Login (Regression bug) (#…
ryandberger Aug 23, 2024
f694821
[STCOR-885] Clear saved entry path so that subsequent logins will use…
ryandberger Sep 9, 2024
4176fde
Merge branch 'master' into keycloak-ramsons
zburke Sep 12, 2024
2106d9c
STCOR-875 sync to master
zburke Sep 12, 2024
e08f5de
additional test corrections
zburke Sep 13, 2024
7a368e6
Merge branch 'keycloak-ramsons' into STCOR-875
zburke Sep 13, 2024
28845c3
STCOR-875 restore the simplicity of logout in STCOR-865
zburke Sep 17, 2024
5d30376
Merge pull request #1534 from folio-org/STCOR-875
zburke Sep 20, 2024
a59cfad
STCOR-889 include all reference interfaces in optionalOkapiInterfaces…
zburke Sep 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
STCOR-795 optionally use users-keycloak endpoint for password reset (#…
…1399)

When the `users-keycloak` interface is available, use the endpoints it
provides in place of the legacy endpoints.

Refs STCOR-795, UIU-3031
zburke committed Jun 11, 2024
commit c4179ddc9344edeacb3d9df7b0e4ee14fbf0e8c2
Original file line number Diff line number Diff line change
@@ -107,7 +107,8 @@ class CreateResetPasswordControl extends Component {
},
} = stripes;

const path = `${url}/bl-users/password-reset/${isValidToken ? 'reset' : 'validate'}`;
const interfacePath = stripes.hasInterface('users-keycloak') ? 'users-keycloak' : 'bl-users';
const path = `${url}/${interfacePath}/password-reset/${isValidToken ? 'reset' : 'validate'}`;

fetch(path, {
method: 'POST',