Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter authorisation throws "The supplied auth credential is incorrect, malformed or has expired. (auth/invalid-credential)" #1062

Open
ikebastuz opened this issue Dec 28, 2023 · 0 comments
Assignees

Comments

@ikebastuz
Copy link

Environment

  • Operating System version: MacOS
  • Browser version: Chrome 120.0.6099.129
  • Firebase UI version: 6.1.0
  • Firebase SDK version: not sure

Problem

ui.start -> signInOptions => TwitterAuthProvider.TWITTER_SIGN_IN_METHOD throws error
"Firebase: The supplied auth credential is incorrect, malformed or has expired. (auth/invalid-credential). [Dismiss]"

API Key and Secret are configured with Firebase Twitter sign-in provider

Steps to reproduce:

It is happening even right now on the demo page.
Try to sign-in with "Twitter"

image

Relevant Code:

	const initFBAuth = () =>
		ui.start('#fb_auth', {
			signInOptions: [
				GoogleAuthProvider.PROVIDER_ID,
				EmailAuthProvider.EMAIL_PASSWORD_SIGN_IN_METHOD,
				TwitterAuthProvider.TWITTER_SIGN_IN_METHOD,
			],
			callbacks: {
				signInSuccessWithAuthResult: () => {
					onSignInSuccess();
					return false;
				},
			},
			signInFlow: 'popup',
		});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants