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

feat(DTFS2-6892): move entra id to tfm api #3960

Merged
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6f01382
feat(dtfs2-6892): add api to upsert user
AlexBramhill Nov 25, 2024
70c1db3
feat(dtfs2-6892): add handle redirect to entra id service
AlexBramhill Nov 25, 2024
4dfd7dd
feat(dtfs2-6892): add user parital login data error
AlexBramhill Nov 27, 2024
51e6a20
Revert "feat(dtfs2-6892): add api to upsert user"
AlexBramhill Nov 27, 2024
eae68f8
Revert "feat(dtfs2-6892): add handle redirect to entra id service"
AlexBramhill Nov 27, 2024
9300c66
feat(dtfs2-6892): add login service
AlexBramhill Nov 27, 2024
d954593
feat(dtfs2-6892): add login service
AlexBramhill Nov 27, 2024
35fc108
feat(dtfs2-6892): add login service
AlexBramhill Nov 27, 2024
f973209
feat(dtfs2-6892): move entra to tfm api
AlexBramhill Nov 27, 2024
019ef20
feat(dtfs2-6892): move entra to tfm api
AlexBramhill Nov 27, 2024
9df20ed
feat(dtfs2-6892): move entra to tfm api
AlexBramhill Nov 27, 2024
6aa48cc
feat(dtfs2-6892): move entra to tfm api
AlexBramhill Nov 29, 2024
c036ea2
feat(dtfs2-6892): move entra to tfm api
AlexBramhill Nov 29, 2024
05ff7e4
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Nov 29, 2024
fda5a2d
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Dec 9, 2024
15ecd10
feat(DTFS2-6892): add object id schema for tfm sso (#4027)
AlexBramhill Jan 2, 2025
1bd2233
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Jan 3, 2025
4fe1900
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Jan 6, 2025
cd59c23
feat(dtfs2-6892): review comments
AlexBramhill Jan 7, 2025
9ebfdac
feat(dtfs2-6892): update to review comments
AlexBramhill Jan 14, 2025
3e80688
feat(dtfs2-6892): clarify how zod union works
AlexBramhill Jan 22, 2025
6c08a10
feat(dtfs2-6892): update to review comments
AlexBramhill Jan 22, 2025
4829ecc
feat(dtfs2-6892): add sso controller test
AlexBramhill Jan 23, 2025
3f94a37
feat(dtfs2-6892): update controller reroute, add tests
AlexBramhill Jan 23, 2025
f2e2f5e
feat(dtfs2-6892): uninstall msal node from tfm ui
AlexBramhill Jan 23, 2025
bbc537f
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Jan 23, 2025
ef3d702
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Jan 31, 2025
494366e
feat(dtfs2-6892): fix lint issue
AlexBramhill Feb 3, 2025
5115a86
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Feb 4, 2025
c3adb9d
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Feb 4, 2025
2f950f1
Merge branch 'main' into feat/DTFS2-6892/add-frontend-upsert-user-fun…
AlexBramhill Feb 5, 2025
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
Revert "feat(dtfs2-6892): add api to upsert user"
This reverts commit b8646d1.
  • Loading branch information
AlexBramhill committed Nov 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 51e6a20b9c5427522db9ed5c36074e5c0579f45a
9 changes: 0 additions & 9 deletions trade-finance-manager-ui/server/api.js
Original file line number Diff line number Diff line change
@@ -478,15 +478,6 @@ const getUser = async (userId, token) => {
}
};

const upsertUserFromEntraUser = (entraUser, token) => {
return axios({
method: 'put',
url: `${TFM_API_URL}/v1/users`,
headers: generateHeaders(token),
data: entraUser,
});
};

const createFacilityAmendment = async (facilityId, token) => {
try {
const isValidFacilityId = isValidMongoId(facilityId);