|
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 |
Answered by
oxisto
Jan 3, 2022
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. |
1 reply
Answer selected by
oxisto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.