firebaseui-web-react icon indicating copy to clipboard operation
firebaseui-web-react copied to clipboard

Disable Sign Up config option for Internal Apps/Services?

Open serglockhart opened this issue 4 years ago • 2 comments
trafficstars

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.

serglockhart avatar Apr 05 '21 01:04 serglockhart

Any updates on this? Have the same use-case

Nikola-Milovic avatar Nov 04 '21 13:11 Nikola-Milovic

@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: "" },
        },
    ],

Nikola-Milovic avatar Nov 06 '21 08:11 Nikola-Milovic