I’d like to modify the sign in page html by putting a ‘Forgot password?’ link after the password label:
This image is an example of what I’m trying to do.
I’m using Okta Identity Engine and code editor for a sign in page. On that page, there is a div with id ‘okta-login-container’, which causes Okta to insert the inputs and buttons when the page loads.
To modify the HTML of the Okta Hosted Sign-In Widget (SIW), you can subscribe to the afterRender event and implement DOM manipulation. The afterRender event enables you to perform actions after the widget has completed rendering. This hook allows you to customize the widget’s behavior or appearance based on the user’s context.