diff --git a/projects/Mallard/src/App.tsx b/projects/Mallard/src/App.tsx index b11e336e5..df88fb7f9 100644 --- a/projects/Mallard/src/App.tsx +++ b/projects/Mallard/src/App.tsx @@ -63,7 +63,9 @@ const handleIdStatus = (attempt: AnyAttempt) => // This legacy id correct? Need to ask Mahesh const handleOktaStatus = (attempt: AnyAttempt) => - logUserId(isValid(attempt) ? attempt.data.userDetails.id : null); + logUserId( + isValid(attempt) ? attempt.data.userDetails.legacy_identity_id : null, + ); const App = () => { useEffect(() => { diff --git a/projects/Mallard/src/authentication/services/okta.ts b/projects/Mallard/src/authentication/services/okta.ts index ece0681bf..b5679baaf 100644 --- a/projects/Mallard/src/authentication/services/okta.ts +++ b/projects/Mallard/src/authentication/services/okta.ts @@ -7,7 +7,7 @@ import { Platform } from 'react-native'; import { errorService } from 'src/services/errors'; type OktaUser = { - id: string; + legacy_identity_id: string; preferred_username: string; };