Currently, I am facing an issue while trying to implement Firebase ui auth in my app by referring to Google's Github documentation.
While the email sign-in functionality is working smoothly, I am encountering problems with the phone sign-in option.
Upon clicking the 'Sign in with phone' button and entering the received 6-digit code, I am unable to successfully sign up or sign in.
https://i.sstatic.net/9JEBN.png
After entering the code, the circular loading icon keeps spinning endlessly and does not redirect me to the signInSuccessUrl
specified in my main.js
.
The error message displayed in the console is as follows:
firebaseui.js:82 Uncaught TypeError: Cannot read property 'call' of undefined
at Ca (firebaseui.js:82)
at Fl (firebaseui.js:323)
at firebaseui.js:324
at firebaseui.js:281
...
Here is my index.html:
<!DOCTYPE html>
<html>
...
</html>
Contents of my main.js file:
let config = {
apiKey: '##',
authDomain: '##',
projectId: '##'
};
...
Despite enabling sign-in with email and phone in my Firebase console, I am still facing this issue. Any help would be greatly appreciated.