Skip to content

How to verify ID Token without requiring credentials? #526

Description

@CStijneAlii

As per the docs: https://firebase.google.com/docs/auth/admin/verify-id-tokens#c

FirebaseToken decodedToken = await FirebaseAuth.DefaultInstance
    .VerifyIdTokenAsync(idToken);
string uid = decodedToken.Uid;

However this requires initializing the DefaultInstance with service credentials. Verifying the token should be possible without private credentials (if we don't check revoked).

How can I do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions