You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I have not yet found a definition of a generic JWT. Indeed the whole point is that you can add what you like, to facilitate the backend at the time that the user sends something to it. iat is clearly a standard field, and there are perhaps others. But beyond that I offered a couple that I developed in specific cases
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:
I'd suggest defining
generic = firebase
and documenting the behaviour of generic. What do you think?The text was updated successfully, but these errors were encountered: