firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.46k stars 3.91k forks source link

fix(auth, android): allow nullable `accessToken` when creating `OAuthProvider` #12795

Closed russellwheatley closed 1 week ago

russellwheatley commented 2 weeks ago

Description

OAuthProvider can have a null access token, this makes behaviour consistent across web, apple and android.

Related Issues

fixes https://github.com/firebase/flutterfire/issues/12791

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

meihdimtg commented 2 weeks ago

I have a problem, registering a user with an email password and a custom token, except that this changed 1 month ago, no one can register on my application anymore, but on the web side it works.

However, the Firebase keys work correctly, the json files are in the root, I have an internal error, MISSING IDENTIFIER however the token returned by my api works for the NEXT JS version which has the same token as that of the app except that via the application and the flutter firebase_auth package this no longer works.