firebase/firebaseui-web-react

Disable Sign Up config option for Internal Apps/Services?

hiyajio opened this issue · 2 comments

I was wondering if/when this project will include the disable sign up config from v4.8.0 of firebaseui-web for configuring the email provider?

I feel like this would be a necessary option to have for this project as it is needed for internal web services and would love to be able to tap into this feature while keeping it all in react.

Any updates on this? Have the same use-case

@saejhi , Idk if its helpful, just add the option like normal and it works. Looked through the code and it just passes the config to the firebase-ui so all of the options are the same

   signInOptions: [
        {
            provider: firebase.auth.EmailAuthProvider.PROVIDER_ID,
            requireDisplayName: false,
            disableSignUp: { status: true, adminEmail: "" },
        },
    ],