Closed
Description
- Firebase SDK version:
- Library version: 2.15.0
- Firebase Product: auth
I'm trying to verify a token using the following code
from firebase_admin import auth
token = auth.verify_id_token(...)
Everything works great until a token is expired. In that case, I get ValueError
.
I think ValueError is pretty generic, wouldn't it make sense to create a custom exception for this so that an app knows what exactly happened?