Disable Sign Up config option for Internal Apps/Services?
hiyajio opened this issue · 2 comments
hiyajio commented
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.
Nikola-Milovic commented
Any updates on this? Have the same use-case
Nikola-Milovic commented
@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: "" },
},
],