${{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•4w ago
Project ID: N/A
TurboFarmer9000
TurboFarmer9000OP•4w ago
Fragly
Fragly•4w ago
That doesn't seem right, which page is this on? Service settings?
Solution
jeremy
jeremy•4w 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•4w ago
this would be a good #🤗|feedback thread tbh
Want results from more Discord servers?
Add your server