Shannon

Results 7 comments of Shannon

> Generation of TypeScript types is generally handled by the third-party package `oazapfts`, not the codegen. But also keep in mind that you could just declare that enum in your...

I have a similar requirement. You can add claims to your jwt by providing your own jwt payload handler in settings. https://django-graphql-jwt.domake.io/en/latest/settings.html#jwt-payload-handler https://django-graphql-jwt.domake.io/en/latest/_modules/graphql_jwt/utils.html#jwt_payload

To be honest I think this requirement is important enough that a larger portion of the docs could be dedicated to it. An example under `Customizing` is perhaps appropriate.

Is solution 2 actually viable? I believe the error message that is being read is internal to the lib and not in the request response. @advl have you found a...

For anyone else ending up here. I solved this by getting the token payload in a django middleware which catches the jwt.ExpiredSignatureError exception and returns a 401. I had to...

What if one is using trpc but are not using remix or nextjs?