@@shafiullahamiri2619 you can define the secret key as you want. To make it secure, it should be long enough. The expiration time is defined in milliseconds. So if you want the expiration time to be 24 hours, you should use the value 24 x 3600 x 1000 = 86400000
*Video Part 2 & Source Code on Patreon* : www.patreon.com/posts/part-2-secure-109708453
Hello sir
how did you generated the Secret-key values and expiration-time in Application properties . can you please guide me how to generate it .
@@shafiullahamiri2619 you can define the secret key as you want. To make it secure, it should be long enough. The expiration time is defined in milliseconds. So if you want the expiration time to be 24 hours, you should use the value 24 x 3600 x 1000 = 86400000
So far the shortest and simplest solution, you're a master.
one of the best instructors great thanks for helping me appreciate it