FirebaseUI-Angular
FirebaseUI-Angular copied to clipboard
How to integrate this using EmailAuthProvider and recaptcha v3?
I want to essentially use Angular firebase-ui where a score-based recaptcha v3 callout is made at the appropriate time when using the EmailAuthProvider.
I am trying this currently:
const firebaseUiAuthConfig: firebaseui.auth.Config = {
signInFlow: 'popup',
signInOptions: [
{
provider: firebase.auth.EmailAuthProvider.PROVIDER_ID,
recaptchaParameters: {
type: 'image', // 'audio'
size: 'normal', // 'invisible' or 'compact'
badge: 'bottomleft' //' bottomright' or 'inline' applies to invisible.
},
}
],
//term of service
tosUrl: '<your-tos-link>',
//privacy url
privacyPolicyUrl: '<your-privacyPolicyUrl-link>',
//credentialHelper: firebaseui.auth.CredentialHelper.ACCOUNT_CHOOSER_COM
credentialHelper: firebaseui.auth.CredentialHelper.NONE
};