Firebase Twitter oAuth not working for Swift ios13

Unable to Login Using Twitter on iOS

I am having trouble logging in with Twitter on my iOS app. I have followed the instructions from Firebase’s documentation for Swift, and I have created an app on Twitter Dev. When I click the button to log in, a web popup appears to authorize my app. After I do this, the webview is left on an empty page with the address about:blank. When I click the Done button, I receive an error that says, “The interaction was cancelled by the user.”

I am using the Consumer API Keys from Twitter as the keys I entered in the Firebase console. What am I missing?

Fenced code blocks should remain the same