Using the Okta Signin Widget with Shadow DOM


I’m trying to use the signin widget in a custom element with shadow dom but it appears that the only way to specify a render container is with something like el: ‘#something’. I assume this results in a document.getElementById() call, which doesn’t work with shadow dom.

Is there a way to pass the actual element to render to? This doesn’t work:

el: this.shadowRoot.getElementById(‘something’)