I'd like to reuse the firebase decoder for a generic JWT-authenticated backend (postgrest specifically), which uses the standard exp, iat, user_id fields. However, this feels wrong with the existing API, because:
- it's not firebase
- the API docs don't state what the JWT is actually expected to look like
I'd suggest defining generic = firebase and documenting the behaviour of generic. What do you think?