Skip to content

How do you verify a token? #2

Open
@codeofsumit

Description

@codeofsumit

Thanks a ton for this example. I'm trying to do this myself.
My app differs a little from yours but this gave me lots of great insight.
What I'm wondering is how you verify that the stored token is valid/not expired. In v1 of your example, you had verifyIdToken and the firebase admin SDK. Here, you don't.

I'm using the token for axios requests immediately so I would like to verify it's valid before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions