-
Hello can I still use the jwt.StandardClaims ? or this is gone, the registeredClaims is so dificult to use with gorm postgress Its just a question I had. Thanks in advance great package |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We do not have a fixed time when we will remove it, but that is the plan. The adjustments were needed because of several issues from the community about the way the old struct was handling time properties. On one hand, we cannot guarantee that our structs work will every external package, I do however recognise that gorm is widely used. However, you might want to overthink, whether you it is a good idea to store tokens this way directly in the database. I will have a look in your other ticket wrt to gorm to see if there is an easy solution. |
Beta Was this translation helpful? Give feedback.
We do not have a fixed time when we will remove it, but that is the plan. The adjustments were needed because of several issues from the community about the way the old struct was handling time properties.
On one hand, we cannot guarantee that our structs work will every external package, I do however recognise that gorm is widely used. However, you might want to overthink, whether you it is a good idea to store tokens this way directly in the database. I will have a look in your other ticket wrt to gorm to see if there is an easy solution.