firebase / firebase/firebase-admin-go

FR: App Check Token Validation

Open
#483 2 comments 1 reaction 0 assignees View on GitHub
help wanted type: feature request
Dominant language
Go
Stars
1.3k
Forks
274
Avg merge
10h 39m
Merged PRs (30d)
2

Description

* Operating System version: N/A
* Firebase SDK version: N/A
* Library version: N/A
* Firebase Product: App Check

Currently, App Check validation is only available with the NodeJS-based Admin SDK. This limits the ability to [Verify App Check tokens from a custom backend](https://firebase.google.com/docs/app-check/custom-resource-backend) to Node-compatible applications.

Go is a very popular language for writing custom backends. It would be helpful if the Firebase Admin Go SDK provided similar functionality to the NodeJS SDK for Go backend developers to verify app check tokens.

Off the cuff, I would find an interface like this helpful (inspired by the NodeJS interface):

```golang
client, err := app.AppCheck(ctx)

claims, err := client.VerifyToken(token)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.