threre is an error in customOAuthParameters Error: The named parameter 'customOAuthParameters' isn't defined. Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'customOAuthParameters'.dartundefined_named_parameter 1 positional argument expected by 'setCustomParameters', but 0 found. Try adding the missing argument.dartnot_enough_positional_arguments CAN YOU HELP??
Hi, I tried this method and it works fine on emulator. But it was not working on actual device after I build apk. Do you have any idea on how to fix this issue please?
I am getting the below error message, when trying to login by giving user name and password....the required field 'request' is missing from the credential .. Can you please suggest a fix for this?
I did exactly what was asked in the video. When I click on Sign in with Microsoft, I am facing this: Error during Microsoft sign-in: [firebase_auth/unknown] An internal error has occurred. [ INVALID_APP_ID Edit: Is this correct or I need to update this? dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.6 msal_js: ^2.14.0 flutter_web_auth: ^0.5.0 font_awesome_flutter: ^10.7.0 firebase_core: ^3.1.1 firebase_auth: ^5.1.1
"What may be happening is that the 'package_name' in the 'google-services.json' file is different from the 'package_name' of the application project. For example, if the project name is app_test and the organization is com.example, both in Firebase and in the 'google-services.json' file, it should be like this: com.example.app_test."
@@raimundoneto4150 Thank you for the help. It turns out my `google-services.json` file was correct. The issue was with the package_name. I had not used the exact package name specified during the app's creation. To resolve this, I reran the `flutterfire configure --project=myAppName` command, and when prompted for the package_name, I provided the exact name from the `defaultConfig { applicationId ... }` section.
Hey man thanks I will be using this in or project. I have a question, is there not a way to do this like with aad_oauth dart package. In other words without opening a web browser to signin ? Thanks Again
Hey man whats up? thanks for the video help a lot but i have one question this commands/ functions that you use like "OauthProvider" and others are the same in react native? because i'am trying to use the firebase and microsoft with react native expo but i did'nt find nothing your video is the most near i had found about this theme if someone knows some documentation or video about this theme, thanks a lot
In flutter I'm using firebase_auth package from pub.dev which provides OauthProvider. I hope there might be some way in react native too to get OauthProvider. Since, I already showed the crucial steps with Microsoft setup I think on the client side react native this is not going to be so hard to achieve.
It's 2 lines of code to sign up with microsoft please pause the video at the point and take it. Simple. The video seems long because there's custom configuration in Microsoft Active Directory
Hello, I am pretty new to coding in general and i am trying to make a business app in flutter, this video has been very helpfull for me trying to auth against my azure tenant. But I also have a question, I have set up a condition so that the app will use popup auth when the device is Web (and this works) but i cannot get the Android in-app logon to work, the button just does not work there. Any tips? thnx in advance
We're glad that you found this video helpful. However, if on Android end the signInWithProvider doesn't open any window maybe because of slow internet connection. But still, I'd like to know, does that throw any exception whenever the window is not opening? Once we've this information we will be able to guide you further to implement azure auth in your mobile app. Thanks
@@eTechViral well, after some searching i have found problem, it was because of the SHA1 fingerprint not being in the firebase config. But I was using Flutterflow to make this application and i am not sure why a direct export/apk build does not work from there, but when i build the app in vscode and add a new key to the keystore and add the fingerprint to the Firebase config it does work.