<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007fVFERCA4Okta Classic EngineIntegrationsAnswered2024-03-25T15:12:55.000Z2022-05-20T15:48:13.000Z2022-05-21T00:05:32.000Z

srnpu (srnpu) asked a question.

OKTA sign in widget get entered username

We have integrated the OKTA sign in widget into our Angular SPA application.

From time to time we get users that can't login and we would like to start logging the errors via an API call.

I would like to gather the user name that was entered by the user when attempting the sign-in.

I am wondering what is the best way to get this data (even if the error occurs later in the flow i.e during MFA). Most of the examples I was able to find pull the user name from the claims after successfull authentication. I need to get the user entered user name as the claims will not always be available.

 


This question is closed.
Loading
OKTA sign in widget get entered username