${{secret()}} generates a new string on every page reload?

Is this expected? Makes it useless. Bad docs around this
Solution:
The secret generator only works for template, meaning once a template is deployed it will generates a secret that won't change. If you use it in a service as you did, it will produce what you are seeing here. Not sure if it's mentioned in the doc somewhere, but I had the same "issue" before....
Jump to solution
6 Replies
Percy
Percy•2mo ago
Project ID: N/A
TurboFarmer9000
TurboFarmer9000OP•2mo ago
Fragly
Fragly•2mo ago
That doesn't seem right, which page is this on? Service settings?
Solution
jeremy
jeremy•2mo ago
The secret generator only works for template, meaning once a template is deployed it will generates a secret that won't change. If you use it in a service as you did, it will produce what you are seeing here. Not sure if it's mentioned in the doc somewhere, but I had the same "issue" before.
ThallesComH
ThallesComH•2mo ago
this would be a good #🤗|feedback thread tbh
Want results from more Discord servers?
Add your server