We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab9c52 commit effa840Copy full SHA for effa840
snippets/auth.go
@@ -79,7 +79,7 @@ func createCustomTokenWithClaims(ctx context.Context, app *firebase.App) string
79
80
func verifyIDToken(ctx context.Context, app *firebase.App, idToken string) *auth.Token {
81
// [START verify_id_token_golang]
82
- client, err := app.Auth(context.Background())
+ client, err := app.Auth(ctx)
83
if err != nil {
84
log.Fatalf("error getting Auth client: %v\n", err)
85
}
0 commit comments