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

You could take a look at transformUsername, since thats designed to pull out the username in case it needs to be modified before being sent to Okta. Thats the only built in function I’m aware of that would help with this use case