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

bug: Authentication v6.3.1 iOS error - bad access token invalid-credential #799

Closed
5 of 17 tasks
orbitcm-marcusrogers opened this issue Jan 18, 2025 · 3 comments
Closed
5 of 17 tasks

Comments

@orbitcm-marcusrogers
Copy link

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Functions
  • Cloud Messaging
  • Cloud Storage
  • Performance
  • Remote Config

Version

6.3.1

Platform(s)

  • Android
  • iOS
  • Web

Current behavior

Calling SigninWithFacebook on an iOS device using @capacitor-firebase/authentication v6.3.1 returns an error ("bad access token, invalid-credential"). SignInWithFacebook on Android works. SignInWithGoogle & SignInWithApple work on iOS and Android. Not sure if this is a compatibility issue with certain iOS versions. Dropping down to v6.2.0 resolves the problem.

Expected behavior

SignInWithFacebook should work on iOS like it does on Android.

Reproduction

will try to get one next week

Steps to reproduce

  1. Set up Facebook login and Firebase Authentication for Facebook.
  2. Install @capacitor-firebase/authentication v6.3.1.
  3. Attempt to sign in on a physical iOS device.

Other information

No response

Capacitor doctor

✔ Copying web assets from browser to ios/App/App/public in 636.14ms
✔ Creating capacitor.config.json in ios/App/App in 799.08μs
✔ copy ios in 671.32ms
✔ Updating iOS plugins in 1.63ms
✔ Updating iOS native dependencies with pod install in 24.27s
[info] Found 17 Capacitor plugins for ios:
@aparajita/[email protected]
@capacitor-community/[email protected]
@capacitor-community/[email protected]
@capacitor-firebase/[email protected]
@capacitor-firebase/[email protected]
@capacitor-firebase/[email protected]
@capacitor-firebase/[email protected]
@capacitor-firebase/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@pantrist/[email protected]
✔ update ios in 24.30s
[info] Sync finished in 25.215s
marcusrogers@marcuss-mbp app % npx cap doctor
[warn] The bundledWebRuntime configuration option has been deprecated. Can be safely deleted.
💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0

Installed Dependencies:

@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0

[success] iOS looking great! 👌
[success] Android looking great! 👌

Before submitting

  • I have read and followed the bug report guidelines.
  • I have attached links to possibly related issues and discussions.
  • I understand that incomplete issues (e.g. without reproduction) are closed.
Copy link
Contributor

This issue has been labeled as needs: reproduction. This label is added to issues that need a code reproduction.

Please provide a Minimal, Reproducible Example using this template in a public GitHub repository so we can debug the issue.

If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for us to reproduce the issue.

@robingenz
Copy link
Member

We will update the Facebook Login SDK soon: #662. This might help you.

@orbitcm-marcusrogers
Copy link
Author

Thanks @robingenz , will close as the cause is known.

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

2 participants