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

Request responded with status code=BadRequest, response={ "error" : "Could not parse auth token." } #73

Closed
walaa118 opened this issue Sep 23, 2016 · 2 comments

Comments

@walaa118
Copy link

walaa118 commented Sep 23, 2016

when i try to use firebase notification :

IFirebaseConfig config = new FirebaseConfig
{
AuthSecret = "your_firebase_secret",
BasePath = "https://yourfirebase.firebaseio.com/"
};

what is the AuthSecret ?!

is it any setting need in the application console.firebase?

@qqc
Copy link

qqc commented Sep 29, 2016

The legacy AuthSecret method is hidden inside the Project Settings in the new Firebase Console under the label Database Secrets. In order to find out your AuthSecret, you'll need to navigate to Project Settings by pressing the cog icon in the sidebar, and then going to the Database tab. Either use the existing secret, or create a new one, and press the button to reveal it. Put this in your FirebaseConfig and everything should be good to go.

capture

@alberthoekstra
Copy link

alberthoekstra commented Dec 1, 2016

Doesnt work for me, i cant find the database secrest in the Firebase console.
Edit: I found it!
You have to go to the Cog icon -> Project Settings -> Service accounts -> Databasesecrets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants