Comments (16)
The value you enter for GoogleClientId needs to be a OAuth client ID for a web application.
Most likely you entered an Android client ID.
from firebaseui-android.
I am setting it up for Android, do I still need to create it for a web
application?
On Sat, Jan 9, 2016 at 6:42 PM, Frank van Puffelen <[email protected]
wrote:
The value you enter for GoogleClientId needs to be a OAuth client ID for a web
application.
Most likely you entered an Android client ID.—
Reply to this email directly or view it on GitHub
#56 (comment)
.
Troy Chuinard, CPA
from firebaseui-android.
Yes. Firebase Authentication is web based, even when you use it from an
Android app. Your users won't notice this, but you'll need to specify the
key for a web application.
On Sat, Jan 9, 2016 at 4:43 PM troy21688 [email protected] wrote:
I am setting it up for Android, do I still need to create it for a web
application?On Sat, Jan 9, 2016 at 6:42 PM, Frank van Puffelen <
[email protected]wrote:
The value you enter for GoogleClientId needs to be a OAuth client ID for
a web
application.
Most likely you entered an Android client ID.—
Reply to this email directly or view it on GitHub
<
#56 (comment).
Troy Chuinard, CPA
—
Reply to this email directly or view it on GitHub
#56 (comment)
.
from firebaseui-android.
I am still getting the same error.
On Jan 9, 2016 11:03 PM, "Frank van Puffelen" [email protected]
wrote:
Yes. Firebase Authentication is web based, even when you use it from an
Android app. Your users won't notice this, but you'll need to specify the
key for a web application.On Sat, Jan 9, 2016 at 4:43 PM troy21688 [email protected] wrote:
I am setting it up for Android, do I still need to create it for a web
application?On Sat, Jan 9, 2016 at 6:42 PM, Frank van Puffelen <
[email protected]wrote:
The value you enter for GoogleClientId needs to be a OAuth client ID
for
a web
application.
Most likely you entered an Android client ID.—
Reply to this email directly or view it on GitHub
<.
Troy Chuinard, CPA
—
Reply to this email directly or view it on GitHub
<
#56 (comment).
—
Reply to this email directly or view it on GitHub
#56 (comment)
.
from firebaseui-android.
I will experiment, but I did change it to a web-based token. It appears I
am getting the same error. Have other people experienced this issue?
On Sat, Jan 9, 2016 at 11:03 PM, Troy Chuinard [email protected] wrote:
I am still getting the same error.
On Jan 9, 2016 11:03 PM, "Frank van Puffelen" [email protected]
wrote:Yes. Firebase Authentication is web based, even when you use it from an
Android app. Your users won't notice this, but you'll need to specify the
key for a web application.On Sat, Jan 9, 2016 at 4:43 PM troy21688 [email protected]
wrote:I am setting it up for Android, do I still need to create it for a web
application?On Sat, Jan 9, 2016 at 6:42 PM, Frank van Puffelen <
[email protected]wrote:
The value you enter for GoogleClientId needs to be a OAuth client ID
for
a web
application.
Most likely you entered an Android client ID.—
Reply to this email directly or view it on GitHub
<.
Troy Chuinard, CPA
—
Reply to this email directly or view it on GitHub
<
#56 (comment).
—
Reply to this email directly or view it on GitHub
#56 (comment)
.
Troy Chuinard, CPA
from firebaseui-android.
I experience the same problems as @troy21688. In logcat I see "user closed login dialog"
from firebaseui-android.
It also looks like the official Google documentation has different instructions. It does not mention adding the meta-data to the Manifest file, and I am uncertain what key to add to my Strings.xml file. The json file that you have to create has its own key, however the instructions also say to add an Auth 2.0 key for the web server. Very confusing, has anyone actually gotten the Google Sign In to work? Here are the instructions I am following, directly from Google:
https://developers.google.com/identity/sign-in/android/start-integrating
from firebaseui-android.
I enable Google auth regularly using FirebaseUI. But the steps are
convoluted indeed.
Look for the 0.3.1 release to drastically simplify what you need to do in
your Android project.
But the steps in the developer console will remain the same: you will need
(at least) two OAuth 2.0 client IDs. One of type "Web application" and one
of type Android, which matches the package name of your app and SHA1 of the
machine where you run the gradle build/Android Studio.
On Mon, Jan 11, 2016 at 12:13 PM troy21688 [email protected] wrote:
It also looks like the official Google documentation has different
instructions. It does not mention adding the meta-data to the Manifest
file, and I am uncertain what key to add to my Strings.xml file. The json
file that you have to create has its own key, however the instructions also
say to add an Auth 2.0 key for the web server. Very confusing, has anyone
actually gotten the Google Sign In to work? Here are the instructions I am
following, directly from Google:
https://developers.google.com/identity/sign-in/android/start-integrating—
Reply to this email directly or view it on GitHub
#56 (comment)
.
from firebaseui-android.
Thanks for filling me in Frank. Definitely new to this process and
programming in general. Regardless of how many apps I have and the number
of keystore files I generate for Android, do I always only have 1 SHA1 key?
I want to make sure that I didn't duplicate those on accident when I
created multiple keystore files.
Also, when do you expect the new UI library to be released?
Appreciate the help.
-Troy
On Mon, Jan 11, 2016 at 2:42 PM, Frank van Puffelen <
[email protected]> wrote:
I enable Google auth regularly using FirebaseUI. But the steps are
convoluted indeed.
Look for the 0.3.1 release to drastically simplify what you need to do in
your Android project.
But the steps in the developer console will remain the same: you will need
(at least) two OAuth 2.0 client IDs. One of type "Web application" and one
of type Android, which matches the package name of your app and SHA1 of the
machine where you run the gradle build/Android Studio.On Mon, Jan 11, 2016 at 12:13 PM troy21688 [email protected]
wrote:It also looks like the official Google documentation has different
instructions. It does not mention adding the meta-data to the Manifest
file, and I am uncertain what key to add to my Strings.xml file. The json
file that you have to create has its own key, however the instructions
also
say to add an Auth 2.0 key for the web server. Very confusing, has anyone
actually gotten the Google Sign In to work? Here are the instructions I
am
following, directly from Google:
https://developers.google.com/identity/sign-in/android/start-integrating—
Reply to this email directly or view it on GitHub
<
#56 (comment).
—
Reply to this email directly or view it on GitHub
#56 (comment)
.
Troy Chuinard, CPA
from firebaseui-android.
Also, not sure if I am doing something wrong, but I am getting an error
with the Twitter login as well. Let me know if the Twitter login is being
updated in the next release and I will ignore for now:
01-11 15:04:20.474 31823-31823/? D/AndroidRuntime: Shutting down VM
01-11 15:04:20.474 31823-31823/? W/dalvikvm: threadid=1: thread exiting
with uncaught exception (group=0x41819da0)
01-11 15:04:20.474 1181-1181/? D/WfcActivityStateReceiver: onReceive():
packageName=com.sourcey.materialloginexample, activityState=resume
01-11 15:04:20.474 31823-31823/? E/AndroidRuntime: FATAL EXCEPTION: main
Process:
com.sourcey.materialloginexample, PID: 31823
java.lang.NullPointerException
at
com.firebase.ui.auth.twitter.TwitterPromptActivity$1.onPostExecute(TwitterPromptActivity.java:98)
at
com.firebase.ui.auth.twitter.TwitterPromptActivity$1.onPostExecute(TwitterPromptActivity.java:71)
at
android.os.AsyncTask.finish(AsyncTask.java:632)
at
android.os.AsyncTask.access$600(AsyncTask.java:177)
at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
at
android.os.Handler.dispatchMessage(Handler.java:102)
at
android.os.Looper.loop(Looper.java:146)
at
android.app.ActivityThread.main(ActivityThread.java:5692)
at
java.lang.reflect.Method.invokeNative(Native Method)
at
java.lang.reflect.Method.invoke(Method.java:515)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at
dalvik.system.NativeStart.main(Native Method)
01-11 15:04:20.484 767-931/? D/PointerIcon: setMouseIconStyle1 pointerType:
1001iconType:101 flag:0
On Mon, Jan 11, 2016 at 2:55 PM, Troy Chuinard [email protected] wrote:
Thanks for filling me in Frank. Definitely new to this process and
programming in general. Regardless of how many apps I have and the number
of keystore files I generate for Android, do I always only have 1 SHA1 key?
I want to make sure that I didn't duplicate those on accident when I
created multiple keystore files.Also, when do you expect the new UI library to be released?
Appreciate the help.
-Troy
On Mon, Jan 11, 2016 at 2:42 PM, Frank van Puffelen <
[email protected]> wrote:I enable Google auth regularly using FirebaseUI. But the steps are
convoluted indeed.
Look for the 0.3.1 release to drastically simplify what you need to do in
your Android project.
But the steps in the developer console will remain the same: you will need
(at least) two OAuth 2.0 client IDs. One of type "Web application" and one
of type Android, which matches the package name of your app and SHA1 of
the
machine where you run the gradle build/Android Studio.On Mon, Jan 11, 2016 at 12:13 PM troy21688 [email protected]
wrote:It also looks like the official Google documentation has different
instructions. It does not mention adding the meta-data to the Manifest
file, and I am uncertain what key to add to my Strings.xml file. The
json
file that you have to create has its own key, however the instructions
also
say to add an Auth 2.0 key for the web server. Very confusing, has
anyone
actually gotten the Google Sign In to work? Here are the instructions I
am
following, directly from Google:https://developers.google.com/identity/sign-in/android/start-integrating
—
Reply to this email directly or view it on GitHub
<
#56 (comment).
—
Reply to this email directly or view it on GitHub
#56 (comment)
.Troy Chuinard, CPA
Troy Chuinard, CPA
from firebaseui-android.
If you think you've found a second issue, open a separate issue for that
please.
On Mon, Jan 11, 2016 at 1:05 PM troy21688 [email protected] wrote:
Also, not sure if I am doing something wrong, but I am getting an error
with the Twitter login as well. Let me know if the Twitter login is being
updated in the next release and I will ignore for now:01-11 15:04:20.474 31823-31823/? D/AndroidRuntime: Shutting down VM
01-11 15:04:20.474 31823-31823/? W/dalvikvm: threadid=1: thread exiting
with uncaught exception (group=0x41819da0)
01-11 15:04:20.474 1181-1181/? D/WfcActivityStateReceiver: onReceive():
packageName=com.sourcey.materialloginexample, activityState=resume
01-11 15:04:20.474 31823-31823/? E/AndroidRuntime: FATAL EXCEPTION: main
Process:
com.sourcey.materialloginexample, PID: 31823java.lang.NullPointerException
atcom.firebase.ui.auth.twitter.TwitterPromptActivity$1.onPostExecute(TwitterPromptActivity.java:98)
atcom.firebase.ui.auth.twitter.TwitterPromptActivity$1.onPostExecute(TwitterPromptActivity.java:71)
at
android.os.AsyncTask.finish(AsyncTask.java:632)
at
android.os.AsyncTask.access$600(AsyncTask.java:177)
at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
at
android.os.Handler.dispatchMessage(Handler.java:102)
at
android.os.Looper.loop(Looper.java:146)
at
android.app.ActivityThread.main(ActivityThread.java:5692)
at
java.lang.reflect.Method.invokeNative(Native Method)
at
java.lang.reflect.Method.invoke(Method.java:515)
atcom.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at
dalvik.system.NativeStart.main(Native Method)
01-11 15:04:20.484 767-931/? D/PointerIcon: setMouseIconStyle1 pointerType:
1001iconType:101 flag:0On Mon, Jan 11, 2016 at 2:55 PM, Troy Chuinard [email protected] wrote:
Thanks for filling me in Frank. Definitely new to this process and
programming in general. Regardless of how many apps I have and the number
of keystore files I generate for Android, do I always only have 1 SHA1
key?
I want to make sure that I didn't duplicate those on accident when I
created multiple keystore files.Also, when do you expect the new UI library to be released?
Appreciate the help.
-Troy
On Mon, Jan 11, 2016 at 2:42 PM, Frank van Puffelen <
[email protected]> wrote:I enable Google auth regularly using FirebaseUI. But the steps are
convoluted indeed.
Look for the 0.3.1 release to drastically simplify what you need to do
in
your Android project.
But the steps in the developer console will remain the same: you will
need
(at least) two OAuth 2.0 client IDs. One of type "Web application" and
one
of type Android, which matches the package name of your app and SHA1 of
the
machine where you run the gradle build/Android Studio.On Mon, Jan 11, 2016 at 12:13 PM troy21688 [email protected]
wrote:It also looks like the official Google documentation has different
instructions. It does not mention adding the meta-data to the Manifest
file, and I am uncertain what key to add to my Strings.xml file. The
json
file that you have to create has its own key, however the instructions
also
say to add an Auth 2.0 key for the web server. Very confusing, has
anyone
actually gotten the Google Sign In to work? Here are the instructions
I
am
following, directly from Google:https://developers.google.com/identity/sign-in/android/start-integrating
—
Reply to this email directly or view it on GitHub
<.
—
Reply to this email directly or view it on GitHub
<
#56 (comment).
Troy Chuinard, CPA
Troy Chuinard, CPA
—
Reply to this email directly or view it on GitHub
#56 (comment)
.
from firebaseui-android.
This appears to be resolved and forked into another issue, closing.
from firebaseui-android.
How/where was it resolved?
from firebaseui-android.
I got this crash log from crashlytic
Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=9000, result=0, data=Intent { (has extras) }} to activity {com.hakimlabs.quran/com.quran.labs.androidquran.ui.QuranActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:3699)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3742)
at android.app.ActivityThread.-wrap16(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1393)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object reference
at com.firebase.ui.auth.core.FirebaseLoginDialog.reset(FirebaseLoginDialog.java:97)
at com.firebase.ui.auth.core.FirebaseLoginBaseActivity.resetFirebaseLoginPrompt(FirebaseLoginBaseActivity.java:100)
at com.quran.labs.androidquran.ui.QuranActivity.onFirebaseLoginUserError(QuranActivity.java:441)
at com.firebase.ui.auth.core.FirebaseLoginBaseActivity$1.onUserError(FirebaseLoginBaseActivity.java:123)
at com.firebase.ui.auth.core.FirebaseLoginDialog$1.onUserError(FirebaseLoginDialog.java:118)
at com.firebase.ui.auth.google.GoogleAuthProvider.onActivityResult(GoogleAuthProvider.java:111)
at com.firebase.ui.auth.core.FirebaseLoginDialog.onActivityResult(FirebaseLoginDialog.java:54)
at com.firebase.ui.auth.core.FirebaseLoginBaseActivity.onActivityResult(FirebaseLoginBaseActivity.java:83)
at android.app.Activity.dispatchActivityResult(Activity.java:6428)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3695)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3742)
at android.app.ActivityThread.-wrap16(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1393)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
from firebaseui-android.
I have the same issue as @hakimrie . Has anyone found a solution?
from firebaseui-android.
I have the same problem
from firebaseui-android.
Related Issues (20)
- Ok oky HOT 1
- _Originally posted by @fwadnjar in https://github.com/firebase/firebase-tools/issues/4254#issuecomment-1716143763_ HOT 1
- FireBaseUI java HOT 1
- FirebaseAuthUI issue keeps trying to sign me up instead of logging in when trying to use email on Android HOT 6
- Hi @zhouweidong, please use our template when filing a report so we can retrieve the basic necessary information before conducting an initial investigation. With that said, I'll be closing this ticket. HOT 3
- PhoneAuth Button Glitch Issue
- Add skip button as custom sign-in layout option
- Kind
- Kitchen HOT 1
- https://github.com/ErikEJ/SqlCeToolbox/releases/download/4.8.732/SqlCe40ToolBox.zip
- https://github.com/ErikEJ/SqlCeToolbox/releases/download/4.8.732/SqlCe40ToolBox.zip HOT 1
- okay. It worked. thanks
- Cannot open Project in Android view.
- Library (Auth UI) does not work with SDK34 or higher (IllegalArgumentException) HOT 11
- Support play-services-auth library (v21.0.0) HOT 1
- FATAL EXCEPTION: main Process: java.lang.RuntimeException: Internal error in Cloud Firestore (25.0.0).
- Error with FirebaseAuthProvider
- 'getItem' is final and cannot be overriden
- Developer error using Microsoft authentication provider HOT 1
- Are there plans to remove play-services dependency?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebaseui-android.