All Questions
Tagged with firebase-admin go
36 questions
1
vote
1
answer
141
views
How do you create email auth links with Firebase Admin SDK with Enable create (sign-up) disabled?
In the Firebase console, if you go to Authentication > Settings > User Actions, there is an option for Enable create (sign-up). Disabling this seems to be intended to prevent account creation ...
2
votes
2
answers
157
views
Is there support for getting the download URL of a file uploaded to firebase storage using Go admin sdk?
I'm using the package firebase.google.com/go/v4 and trying to upload a file to firebase storage and have a download link to use the file later in other apps. The documentation especially for Go is ...
0
votes
3
answers
413
views
How to GetDownloadURL with Go Firebase Admin SDK
I have a web server and need to allow admins to upload images and users to view images.
I am able to upload the file just fine with this:
bucket, err := client.DefaultBucket()
if err != nil {
...
1
vote
1
answer
644
views
Authenticate user using Go and Firebase Admin SDK
Is there a way to authenticate the user using its email address and password?
In the Firebase Admin SDK package, Go language, I found no "Sign in" function. To create a CustomToken you don't ...
1
vote
0
answers
228
views
Firebase Appcheck Golang Admin SDK requires use of internal package externally in its API
Current issue on their Github.
First, I believe the Firebase documentation for how to use AppCheck with the Golang Admin SDK is wrong here. It says you need to create a new appcheck.Client directly ...
2
votes
2
answers
6k
views
Firebase Cloud Functions in Golang
Is it possible to write Firebase Cloud Functions in Golang such that they can access Firebase services such as Firestore and Storage, in both production and emulators?
Ideally I would like to have a ...
1
vote
0
answers
839
views
Firebase Auth Emulator - Golang: Project not found
Recently I started testing my go server, which uses firebase admin sdk, with firebase local emulator suite. It works perfectly with firestore, but with the authentication not so much.
I tried many ...
1
vote
0
answers
90
views
use subset of firebase admin features
is it possible to use only subset of firebase-admin-go on the backend? it ships with a ton of features but all i need are:
ID Token Verification
Firebase Cloud Messaging
so i was hoping i could do ...
5
votes
2
answers
1k
views
Firebase storage emulator ignored by go admin sdk
I'm trying to setup the storage emulator for my firebase project. I am using the Go admin sdk. However it seems to be ignored despite following the documented process.
App initialization:
func App(ctx ...
1
vote
1
answer
194
views
Import external user to firebase
I want to import users from an external database to firebase.
The password were hashed with a sha256 function with the password prepended by a salt (which is a UUID).
For example:
password = "...
0
votes
1
answer
345
views
Authenticate on Realtime Database using an IdToken using the Go Admin SDK
When using the Firebase Admin SDK in Go, I'm facing an issue where I can't authenticate on the Realtime Database.
Here's how I start the database connection:
option := option.WithTokenSource(...
2
votes
1
answer
4k
views
Project ID Required to Access Firestore Error
I wish to use the firebase admin-sdk but for some reason, I am getting a "project id is required to access Firestore error".
I have downloaded an admin-sdk json file from the firebase ...
1
vote
1
answer
239
views
Is there a lighter version of the firebase admin SDK that only includes the auth package for Go?
I have the whole firebase.google.com/go/v4 library as a dependency just to be able to do the following:
client *auth.Client
client.VerifyIDToken(ctx, bearerToken)
Is there a lighter version of the ...
0
votes
1
answer
540
views
When I try to get the user data with Go and firebase adminSDK, I can only get the memory address
I'm currently using the Firebase adminSDK to get the user data from the firebase authentication.
The following code seems it can access firebase, but the data to be retrieved is a memory address.
I ...
0
votes
1
answer
638
views
Firebase Admin SDK Upload File to Google Cloud Storage
This has been a source of frustration for the past couple of days because the documentation makes it sound like it should be straightforward.
I have a simple HTTP server running locally (Heroku ...