<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
0D54z0000AIGGafCQHOkta Classic EngineAdministrationAnswered2024-11-29T20:26:32.000Z2024-11-27T18:28:04.000Z2024-11-29T20:26:32.000Z
Using the Okta-hosted password page, how can I access the username

Using the Okta-hosted password page, how can I access the username that was entered on the username page via the Okta SDK? . I know I can access the username by querying the DOM like this: let identifierText = document.querySelector('[data-se="identifier"]')?.title || '', but I was hoping to use the Okta SDK instead, as querying the DOM is not reliable


  • User17157611498146715886 (Customer Support Online Community and Social Care)

    Hello @ChristinaH.47473 (Customer)​ , thank you for contacting Okta Community!

    I've reviewed our documentation for something relevant. It looks like your question is more appropriate for our dedicated Okta Developer Forum. I advise reaching out via devforum.okta.com  as they will have more insight into this topic. 

     

    While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).

     

    Regards. 

    --

    Ask Us Anything about Okta FastPass - now thru December 11th

    Expand Post
This question is closed.
Loading
Using the Okta-hosted password page, how can I access the username