in authui-container/src/sign-in-ui.ts [78:99]
render() {
return this.getConfig()
.then((configs) => {
// Remove spinner if available.
if (this.loadingSpinnerElement) {
this.loadingSpinnerElement.remove();
}
this.setCustomStyleSheet(configs);
const config = this.generateFirebaseUiHandlerConfig(configs);
// This will handle the underlying handshake for sign-in, sign-out,
// token refresh, safe redirect to callback URL, etc.
const handler = new firebaseui.auth.FirebaseUiHandler(
this.container, config);
// Log the hosted UI version.
this.ciapAuth = new (ciap.Authentication as any)(handler, undefined, HOSTED_UI_VERSION);
return this.ciapAuth.start();
})
.catch((error) => {
this.handlerError(error);
throw error;
});
}